Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking Object existence
Message
From
12/06/2003 03:37:03
 
 
To
10/06/2003 19:55:19
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00798697
Message ID:
00799255
Views:
37
Hi there,

you could try one of the following to check for an object.

(1)
IF !ISNULL(Variable)

ELSE

ENDIF

(2)
IF VARTYPE(Variable) = "O"

ELSE

ENDIF

(3)
IF TYPE("Variable") = "O"

ELSE

ENDIF

Hope this helps,

Cheers Erwin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform