Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why Doesn't the 'IF Then' Work
Message
From
21/09/1999 03:14:07
 
 
To
16/09/1999 08:07:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00265388
Message ID:
00266978
Views:
19
>Because you have SET EXACT OFF. Also, get rid of the "then"...it's not
evaluated.

Hey John,

THEN is now allowed syntax for IF. Check it out in the Help file. Caught me by surprise!


>
>>If I run this program, it prints "OK". Why
>>
>>cTest="This is a test"
>>If cTest="" Then
>> ?"Ok"
>>EndIf
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform