Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Commenting Lines
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00805474
Message ID:
00805542
Vues:
30
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform