[Gambas-user] IsObject(NULL)
Bruce Bruen
bbruen at ...2308...
Wed Nov 24 12:27:30 CET 2010
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
More information about the User
mailing list