Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FOR...ENFOR question
Message
From
17/10/2003 17:18:57
 
 
To
17/10/2003 17:05:17
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00839919
Message ID:
00839929
Views:
20
There's an (un?)documented "feature" that certain commands did not require this, like in Mike's example, the most common I used to see was EndIf, e.g.
If someVar = .T.
   DoSomething()
EndIf someVar = .T.
All VFP programmers should use && and not rely on this "feature". :)

>Hi Mike, All VFP´s versions use && as line comment ...
>
>
>>>Is this a bug or not?
>>
>>Its probably there for backwards compatibility with old versions of Fox that allow comments to be added after the command. This would be a more typical example of the "functionality"
>>
>>
For x = 1 to 4 which is all the seasons in the year
>>?x
>>EndFor
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform