|
-
October 31st, 1999, 02:35 PM
#1
Block Remarks
Hi
In VB, Is there a way of blocking a few lines of statement as remarks/comments instead of line by line thru '. Just like In C language,
/* ........................
............................
............................ */
Thanx in advance.
-
October 31st, 1999, 07:58 PM
#2
Re: Block Remarks
I don't think u can do that,
but u can use the "edit->comment block" to mark more than one line as commented.
Cheers,
Praba
-
November 1st, 1999, 01:43 PM
#3
Re: Block Remarks
Or, Right-click on any tool bar, and include the "Edit" tool bar. Has toggle breakpoints, and other useful buttons including the Block comment/uncomment.
-
November 2nd, 1999, 04:17 AM
#4
Re: Block Remarks
There is also that trick in C(++) to use the preprocessor to "comment" (= not execute) lines:
#If 0 then
this lines will not
be executed
#End If
MsgBox "hello"
-
November 2nd, 1999, 06:10 AM
#5
Re: Block Remarks
Sorry, I'm not very sure of your commands,
could u please give me a more detailed example ?
Thanx.
-
November 2nd, 1999, 06:33 AM
#6
Re: Block Remarks
Let me explain in detail what praba and deepak are trying to say. first, make sure the edit toolbar is visible. you can do this by selecting from the menu view->toolbars->edit.
select the lines that you want to be commented. use the mouse to do this or simply hold down the shift key and select the multiple lines. now click on comment block button on the edit toolbar. To uncomment a block, follow the similar procedure and click on uncomment button on the edit toolbar.
regards,
Mani. S
-
November 3rd, 1999, 05:36 AM
#7
Re: Block Remarks
Oh, Sorry, I first thought of praba is asking me to put in such syntaxs, I dunno they were talking the same things, thanx for ur explanation.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|