Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking Object existence
Message
 
 
To
10/06/2003 19:55:19
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00798697
Message ID:
00798728
Views:
31
This message has been marked as a message which has helped to the initial question of the thread.
Claudio,

I use this udf:
function IsObject( roObject )

return( ( type( "m.roObject" ) == 'O' ) and ( ! isnull( m.roObject ) ) )
>I'm trying to check for the existence of an object. I am trying this, but it's not working:
>
>
>If IsObject(variable)
>   * do something
>else
>   * do nothing
>endif
>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform