Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this a Bug?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00812190
Message ID:
00812208
Vues:
19
Sergey,

I don't think we got && end of line comments until VFP3.

Before that the parser simply ignored the line content once a fully parseable line was read. Which led to (junk IMHO) code like this:
if ( cond )
   ...
endif cond
>It's a known issue since FOX 2.6 days, maybe even eirlier. FoxPro incorrectly treat '&&' in the string literal as beginning of the inline comment. A workaround is to separeate '&&' characters.
lcTxt= "&" + "&"
>lcTxt = "!!!#&" + "&"
>and so on
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform