Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Good words for VFP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00335519
Message ID:
00337121
Views:
24
>>>>Do you guys have the same problem that I do in VB, the IF...statement? Seems like everytime I write one, and the end of the line, I hit return and: "Expected Then".:-)
>
>George,
>
>i believe the reason for this comes from the old days when IF was not structured with an endif.
>
>You could write:
>
>IF var1=var2 THEN x=true

And you still can.:-) And even

IF var1 = var2 THEN x = true ELSE x = false

(Now before anyone gets on me for this example, it's just an example. We all know that x = (var1 = var2) is better< bg >).

>But I agree it happens to me all the time although you could turn syntax checking off (if you dare).
>
I don't think I'd want to. You know the situation, "I've just washed my hands and can't do a thing with them"< g >. The syntax checking gets more typos than I'd care to admit.:-)
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform