Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this a bug or normal VFP behavior?
Message
From
25/01/2002 06:15:06
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
24/01/2002 16:36:03
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00610105
Message ID:
00610349
Views:
18
>>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform