Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Commenting Lines
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00805474
Message ID:
00805542
Views:
31
This message has been marked as the solution to the initial question of the thread.
Inline

>Is is possible to comment out multiple lines of text rather than putting a ' at the beginning of each line?

No, VB is rather limited this way. You have to have the apostrophe at the beginning of each line. That's the price VBers pay for not having to put a semicolon at the end of each line. ;-) But you can comment/uncomment out mutliple lines at once by (1) highlighting them and (2) either clicking the comment/uncomment icons on the toolbar or by pressing Ctrl + C **and then** Ctrl + C to comment (or Ctrl + U to uncomment). Also, if you have VB set to "word wrap" mode, you can just type a single line of comment like a paragraph, and it will wrap around as necessary.

>And, is it ok to put comments after a line of code with the ' like we do in vfp with the &&

Yes, you can do that.

HTH,
John Barone
Previous
Reply
Map
View

Click here to load this message in the networking platform