[Gambas-user] Stange problem with CInt

Steven Lobbezoo steven at ...1652...
Fri Mar 7 13:41:01 CET 2008


Hi,

I have a strange problem with CInt

I do :
i = CInteger("123.00")

where i is an integer and "123.00" a string of course
I tried Cint and CInteger

I get a message :
Type Mismatch : Wanted Integer, Got string instead

In the doc it says that the variable between the brackets is type
Variant.

I donnot get it, a variant can be a string no ?

I use 2.1.0 on Suse 10.3

Steven






More information about the User mailing list