[Gambas-user] IsObject(NULL)

Benoît Minisini gambas at ...1...
Wed Nov 24 11:59:14 CET 2010


> hi,
> 
> PRINT IsObject(NULL)
> 
> returns
> TRUE
> 
> The NULL constant is an object?

NULL is almost everything. So IsObject(Null) and IsString(Null) returns TRUE. 
But IsDate(Null) returns FALSE, whereas Null can be a date.

So things are not very logical there.

-- 
Benoît Minisini




More information about the User mailing list