Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comment out blocks of code.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00985855
Message ID:
00986008
Views:
32
>>I know I can comment out single lines of code by putting an asterisk at the beginning of the line. Is there a way to comment out entire blocks of code as you can in C++ ? I looked at the VFP Help. All it talks about is using the asterisks, NOTE, and double apmersand signs for single lines.
>>
>>I sometimes want to quickly disable 10 or 20 lines of code.
>>
>>Thank You.
>
>Elgin;
>
>I have used for years the following to comment out code with several languages with different endif, end if's as required: :)
>
>If llOK then
>* Code block
>* goes here
>Endif
>
>It makes it easy to add an * before the conditional statement to activate the code should it be necessary.
>
>Tom


Tom,

That's a pretty kool and obvious solution. Thank you very much.

Sometimes we just don't see the proverbial "nose on our face."

Thanks.
Elgin Rogers
Epic Solutions
www.epicsolutions.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform