[Gambas-user] IsObject(NULL)

Demosthenes Koptsis demosthenesk at ...626...
Wed Nov 24 12:56:56 CET 2010


On Wed, 2010-11-24 at 21:57 +1030, Bruce Bruen wrote:
> Returns TRUE if the vRef is an object or a null reference.
> IsObject(NULL) doesn't refer to the NULL constant being an object, it is 
> answering correctly that a vRef=NULL is a null reference!
> 

yes i saw now the help about NULL reference or an object.

But IsObject(NULL) i think is different from IsObject(oMyNullObject)
The first is the constant the second is a NULL object.

Also see IsObject("") which here is a empty string.

If i am wrong please correct me.

-- 
Regards,
Demosthenes





More information about the User mailing list