On Wed, 24 Nov 2010 06:51:50 pm Demosthenes Koptsis wrote:
> hi,
> 
> PRINT IsObject(NULL)
> 
> returns
> TRUE
> 
> The NULL constant is an object?

I really don't see a problem here.  
Directly from the help:
"IsObject 
Syntax
bRes = IsObject ( vRef ) AS Booelan
bRes = Object? ( vRef ) AS Boolean
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!

-- 
best regards
Bruce Bruen
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to