Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quiz
Message
From
15/01/1999 16:36:10
 
 
To
15/01/1999 16:14:39
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Quiz
Miscellaneous
Thread ID:
00176713
Message ID:
00176721
Views:
26
>>I just tried the quiz, but I found 1 strange answer ,
>>
>>x = 7
>>y = 8
>>IF X > 3 AND Y < 4
>>WAIT WINDOW "X > 3, Y < 4"
>>ELSE
>>WAIT WINDOW "X <= 3 and/or y >= 4"
>>ENDIF
>>
>>I think the answer should be WAIT WINDOW "X <= 3 and/or y >= 4"
>>but result said it should be "X > 3, Y < 4".....
>>
>>Hmmmm, quite strange.
>
>Don't worry: it's Friday :).

Read the line IF X > 3 etc. very carefully. Actually you'll find a similar example in the Hacker's Guide to VFP 3.0. This is only applicable to VFP 3.0 and before.
Previous
Reply
Map
View

Click here to load this message in the networking platform