Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this a bug or normal VFP behavior?
Message
De
25/01/2002 06:15:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/01/2002 16:36:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00610105
Message ID:
00610349
Vues:
19
>>An asterisk ('*') is the beginning of a comment. You extended that
>>comment to the next line by using a semicolon.
>>
>>This behavior is what you should expect and is by design...
>>
>
>Kinda confusing because I usually prefix my comments with * for
>each and every line I place my comments. And the colorization (ie. green)
>does not extend to the next line.

It works, or rather, fails to work, the other way, too (false positive vs. false negative).
a = b;
  * c
The asterisk here means multiplication, not comment! But the syntax coloring mechanism (which examines one line at a time) marks it as a comment.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform