Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in Quiz
Message
 
To
09/02/2000 15:12:27
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00329260
Message ID:
00329747
Views:
25
>>Andrew,
>>
>>Prior to VFP 6.0 (when the quiz was written) Fox ignored everything on an IF line after the first things that wasn't in a correct syntax and treated it like an inline comment. In VFP before 6.0, the correct answer is 1 because the second part of the expression was never checked. In VFP 6.0 and later it errors as you said.
>
>Actually, that was fixed in VFP 5.0. Just tested it.

Actually, it coudl be called "fixed" or "changed". Personally I liked the default inline comments on the IF line from prior to VFP 5 (You are correct).
Previous
Reply
Map
View

Click here to load this message in the networking platform