[Gambas-user] Conversion of array value to integer

Ian ian.roper at ...1974...
Sat Nov 29 06:08:14 CET 2014


If you have an array value that is a number - TmpAry[0] = "1"

If you try to convert it to an integer with CInt you get an error "Not a 
Function"
CInt(TmpAry[0])

You get the same error with Val(TmpAry[0])

You DON’T get the same error for CFloat(TmpAry[0]) ?

I assume this is a bug ?

Thanks,
Ian.





More information about the User mailing list