Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strict typing...
Message
From
14/11/2001 14:26:14
 
 
To
14/11/2001 14:23:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00581332
Message ID:
00581705
Views:
17
Correction: You cannot generate an error with the LanguageOptions setting, but can cause error output to go to the DEBUG OUTPUT window or to a file set with SET DEBUGOUT TO... It's all in the docs.

>Paul,
>
>You cannot enforce types in VFP, but can generate error output for undeclared variables in VFP7 with this setting:
>
>_VFP.LanguageOptions=1
>
>Look up the topic "LanguageOptions Property" in VFP7 help.
>
>>Is it possible to force VFP to strictly type variables and properties...for instance I can do this:
>>
>>local xyz as number
>>
>>xyz=""
>>
>>and it retains the string. I have to say that I would rather it gave me an error, preferably at design time.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Reply
Map
View

Click here to load this message in the networking platform