Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Continued comments ...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00348010
Message ID:
00348098
Views:
26
>>The other day I changed an sql-select in a program, but because I wasn't shure I put a copy of a part of the select in comment, so I had something like this :
>>
>>* select blablabla ;
>>select new_blablabla ;
>> where ....
>>
>>What happend ; my select was considered as a continuation of the comment line, and wasn't executed !
>>Just wanted you to know ...
>
>This is correct behaviour by design.
>
>From VFP Help:
>
>Place a semicolon (;) at the end of each comment line that continues on a following line.
>
>So your lnes were considered as one comment.
>
>Nick

BTW, the gotcha here is that with syntax coloring only the first line of such continued comment is colored as comment, others colored like code.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform