Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does public variable exist
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00892308
Message ID:
00892385
Views:
19
Thanks Sergey
I was using TYPE but I was checking for "C", one of those senior moments! Seems like it would be an application environment variable or something.

Anyway, I appreciate it

>>Can "pemstatus()" be used to check for public variables created in the main program? What object do PUBLIC variables exist in? What's the best way to see if PUBLIC variables exist?
>>
>Hi Chuck,
>
>Variables in VFP exist outside of OOP world. They don't belong to any objects. You can use TYPE() function to check for there existense
IF TYPE("myvariable") <> "U"
>  WAIT WIND "It Does Exists!"
>ENDIF
Extreme Programming = Plan -> Design -> Code -> Test
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform