Comment and Uncomment Blocks of Code

Visual Basic 5.0 lets you comment a block of code in a snap and uncomment it later. This feature is useful in the debug phase, when you don’t want to execute a number of statements, but you don’t want to physically delete them either. However, the Comment/Uncomment command pair isn’t present in any menu of the environment, and you can only reach it by enabling the Edit toolbar. To do this quickly, right-click on any toolbar in the environment and select the Edit command.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: