Tom Knowlton
asked on
VBScript question: Multiline comments?
I know how to do a single-line comment in VBScript:
'This is a comment
Usually when I do multiple lines I just begin each line with a single quote:
'This is comment line 1
'This is comment line 2
'...
'Comment N...
Is there a multiline comment format (as found in other languages)?
As in:
/*Comment line 1
Line 2
Line 3
Line 4
Line 5 */
(Everything between the /* and the */ is marked as a comment.
Just wondering if VBScript has the same sort of thing, and I missed it.
Tom
'This is a comment
Usually when I do multiple lines I just begin each line with a single quote:
'This is comment line 1
'This is comment line 2
'...
'Comment N...
Is there a multiline comment format (as found in other languages)?
As in:
/*Comment line 1
Line 2
Line 3
Line 4
Line 5 */
(Everything between the /* and the */ is marked as a comment.
Just wondering if VBScript has the same sort of thing, and I missed it.
Tom
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
' This is my comment
REM And this is a comment too.