[Gambas-user] CInt("0") <> CInt("")
Jussi Lahtinen
jussi.lahtinen at ...626...
Sat May 31 17:49:07 CEST 2014
Oh, in this case use IsInteger().
Jussi
On Sat, May 31, 2014 at 6:48 PM, Jussi Lahtinen <jussi.lahtinen at ...626...>
wrote:
> It's correct, NULL is not same as zero.
> I suggest you use IsNumber() to determine if the string can be converted.
>
> Jussi
>
>
> On Sat, May 31, 2014 at 12:48 PM, Patrik Karlsson <pata.karlsson at ...626...
> > wrote:
>
>> Should not CInt("") return 0?
>>
>> Print cint("")
>> Type mismatch: wanted Integer, got String instead
>>
>> /Patrik
>>
>> ------------------------------------------------------------------------------
>> Time is money. Stop wasting it! Get your web API in 5 minutes.
>> www.restlet.com/download
>> http://p.sf.net/sfu/restlet
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
More information about the User
mailing list