hi,
PRINT IsObject(NULL)
returns
TRUE
The NULL constant is an object?
--
Regards,
Demosthenes Koptsis.
--
Increase Visibility of Your 3D Game App Earn a Chance To Win $500!
Tap into the largest installed PC base
2010/11/24 Demosthenes Koptsis demosthen...@gmail.com:
hi,
PRINT IsObject(NULL)
returns
TRUE
The NULL constant is an object?
nead the help please !
http://gambasdoc.org/help/lang/isobject
--
Regards,
Demosthenes Koptsis.
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
sorry...
i ll be more careful next time.
On Wed, 2010-11-24 at 11:53 +0100, Fabien Bodard wrote:
2010/11/24 Demosthenes Koptsis demosthen...@gmail.com:
hi,
PRINT IsObject(NULL)
returns
TRUE
The NULL constant is an object?
nead the help please !
Le 24 novembre 2010 11:59, Benoît Minisini
gam...@users.sourceforge.net a écrit :
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
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
i will describe my thoughts about that,
i read the
http://gambasdoc.org/help/cat/constants
and i saw that a TRUE or FALSE value is a Language constant.
Also NULL is a Language constant!
So i expected from IsObject() to return FALSE when it is feed with
constants as argument.
So
PRINT
i will describe my thoughts about that,
i read the
http://gambasdoc.org/help/cat/constants
and i saw that a TRUE or FALSE value is a Language constant.
Also NULL is a Language constant!
So i expected from IsObject() to return FALSE when it is feed with
constants as argument.
So
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
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
On Wed, 2010-11-24 at 21:57 +1030, Bruce Bruen wrote:
I really don't see a problem here.
Directly from the help:
IsObject
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
11 matches
Mail list logo