On Oct 30, 2006, at 10:58 AM, Bart Pietercil wrote:
Thx Arnaud,
that's one of the way outs I had in mind.
It is not very clean since I have to initialise a variable to test
if another variable has been initialised
But the more general question remains:
Isn't there a way in Realbasic to test if a datatype has been
initialised? Something like IsSet or IsInited.
Coming to think of it (because it is similar to this problem), how
will a database pass a Null value to an integer when I do:
myInt = RS.Field("anIntegerField").IntegerValue. I would hope for
an IsNull
hmmm, strange
Some database do extend the standard db api and add an isnull so you
can test this
In the RB language integers cannot be "nil" so you always get a valid
value regardless of what it is in the database
Other intrinsic types work like this as well
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>