On Wed, 2010-11-24 at 12:21 +0100, Fabien Bodard wrote: > For exemple > dim o as object > > isobject(o) will return true even if o is null... o can only be an object > > but > dim v as variant > > is object(v) will return false if it is null ... it can be anything
hm... i checked this in Gambas2-2.21 DIM v AS Variant = NULL PRINT IsObject(v) 'True i see that, if something is NULL is recognized as object anyway. -- Regards, Demosthenes ------------------------------------------------------------------------------ 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