[Gambas-user] Bugs with conversion functions
Jussi Lahtinen
jussi.lahtinen at ...626...
Sat Nov 3 16:24:05 CET 2012
If I remember correctly this has been topic earlier... Was there some
reason why Null is not accepted..?
? cint("0")
0
? cint("")
Type mismatch: wanted Integer, got String instead
At least error message is wrong (expected is variant).
And I expect it to return zero.
? val("&H123123")
1192227
? cint("&H123123")
Type mismatch: wanted Integer, got String instead
Again at least error message is wrong. I expect it to return same as Val().
These errors seems to apply to other conversion functions as well.
Gambas 3 rev 5289 @ Xubuntu 12.04 64bit
Jussi
More information about the User
mailing list