Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a Comment and EndComment syntax in VFP
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01446526
Message ID:
01446578
Views:
56
>>>>>#if .f.
>>>>> comment
>>>>>#endif
>>>>>
>>>>
>>>>Yes, nothing of /* */ kind of things. But as far as I know, VB doesn't have it either.
>>>
>>>:-)
>>>What's wrong with #if .f.?
>>
>>It's not so bad but can be easy to miss if it's a big block. Personally I prefer commenting out the block. That makes it visually clear and is very easy to do -- highlight, right click, "Comment".
>
>Sure, I do this all the time.
>But one disadvantage of that is that you lose a syntax highlighting.

True. Of course, it's not going to execute anyway ;-)
Previous
Reply
Map
View

Click here to load this message in the networking platform