Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Comments for multiple lines

Status
Not open for further replies.

multiplex77

Programmer
Dec 25, 2001
302
SG
Hi,

Simple question: Is there a way to comment multiple lines in VBScript ASP code? Something like in SQL we use /* ... */

Thanks for the help.
 
wont a ' do the trick?

if you use it on each line, then the text after the ' wont be displayed.

Is that what you were on about??
 
I think he is saying how do you have comments like this:

/*
Comment continues on to the next line
without having to have a single quote on each line
*/

And as far as I know you can't do this in ASP. You can do two different comments as far as I know..

REM your comment
REM more comments..

or

' your comment
' more comments..



www.vzio.com
ASP WEB DEVELOPMENT



 
Sorry, I should have mentioned, I have used ' but I want to know if I can have a "block comment", like what snowboardr wrote:

/*
Line one
Line two
...
Line ten
*/

It's useful when I want to comment out large blocks of code. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top