#78855 - 2002-05-22 11:16 PM
Re: 4.10 RC1 - Error
|
Sealeopard
KiX Master
   
Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
|
I have to agree with Bryce. I alwasy check whether an object has been created properly by using either VARTYPE($objVar)=9 or an IsObject($objVar) [VB SCript].
BTW, we should have some shortcut Is...() functions build into KiXtart, especially with the new number formats so we can check quickly for e.g. IsString, IsInteger, IsObject, IsArray, IsFloat and so on instead of the VarType(). Personal reason: I'm lazy and can't remember all the VarType return numbers, so I have to look it up in the manual (20 seconds each, 5 times a day, enough time to gulp down a cup of coffee, thus I'd prefer the coffee)
_________________________
There are two types of vessels, submarines and targets.
|
|
Top
|
|
|
|
Moderator: ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 1088 anonymous users online.
|
|
|