Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comment out blocks of code.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00985855
Message ID:
00986008
Vues:
31
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform