Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check for not defined variable
Message
 
 
To
12/04/2007 21:48:23
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01215370
Message ID:
01219008
Views:
13
>Hi,
>If a variable not defined in runtime, it will cause an error during
>runtime.
>How to check a variable not defined in runtime ?
>
>Thanks.

You can check your code during debugging by setting
_VFP.LanguageOptions = .t. .
This will display undefined LOCAL and PUBLIC variables in the DEBUGOUT window. Unfortunately, it also displays all PRIVATE variables, defined or undefined.
- Andy Rice
San Diego, CA
Previous
Reply
Map
View

Click here to load this message in the networking platform