Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Quiz in KB...
Message
De
07/07/1999 18:17:31
 
 
À
07/07/1999 18:11:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00238575
Message ID:
00238582
Vues:
18
>>Yes. It's an example from the Hacker's Guide to VFP 3.0.
>>Apparently in VFP 3.0 and before you were allowed to place comments on the same line as your if statement. The way that FP dealt with that is as soon as it hit a syntax error it would just make the rest of the line a comment.
>>
>>In this example the missing "." in the "AND" is what is causing the problem. It evaluates only the first part of the if and the rest of the if it just acts as if its a comment.
>>
>>HTH
>>
>>Dan
>
>Thats not too backwards compatible, but I'd better see it the new way than the old way. That would suck to not know that little fact and try to debug.

The debugging issue is why, I believe that they fixed this "feature". <g>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform