Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this normal behavior...
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00237931
Message ID:
00237984
Views:
10
>... I inherited a program that was not working properly, and after some digging around I found a long commented line, which extended beyond the right edge of the screen, which had a semi-colon at the end with an uncommented line of code on the next line. The problem was that the semi-colon continued the comment to the next line. Is that normal behavior? I know that semi-colon extends a line to the next physical line, but I didn't know that included commented lines too. So, in the following...
>
>WAIT WINDOW "First wait"
>* this is a comment;
>WAIT WINDOW "Second wait"
>
>... the second WAIT does not run.


... to add to the other replies, the semi-colon is a line continuation indicator which means the next line is a continuation of that line. Since the first line is a comment, the second line is a continuation of the comment.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform