Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOR...ENFOR question
Message
De
17/10/2003 17:18:57
 
 
À
17/10/2003 17:05:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00839919
Message ID:
00839929
Vues:
21
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform