Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't see what changed
Message
 
To
10/07/2001 10:25:22
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00527148
Message ID:
00528604
Views:
21
>>>Yup.. different strokes. But's I'll disagree with your disagreement. If you put the + and AND at the end of the line, there is nothing to tell you that the next line is a continuation if you are only scanning the beginning of the line. My way, you get that visual clue either way (beginning or end).
>
>However, try this with "*" for multiplication! The second line will look like a comment. Apparently, VFP syntax-coloring examines only one line at a time.
>
>Even more insidious is the following:
>
>
>* This is a comment;
>This line will never execute, because of line continuation and comment!
>
>
>Regards, Hilmar.

Actually, I believe the problem is that when the syntax coloring routine examines the first character and if it's a comment colors the entire line appropriately, but doesn't check the last character to see if it's a continuation. Even more insidious is:
? 1 && This is a comment;
? 2 && This won't execute
? 3 && This will
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform