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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

comment

Status
Not open for further replies.

simma

Programmer
Sep 11, 2001
398
US
Hello,
How do we comment piece of code in visual interdev.
Thanks
 
If you want to comment VBScript, you would preface it with an apostrophe. If JavaScript, you can either preface it with two forward slashes or enclose an entire section within a forward slash/asterisk and then close with an asterisk/forward slash. Examples:
Code:
VBScript:
[COLOR=green]'This code is commented (and you will also notice that it turns green).[/color]

Javascript:
[COLOR=green]//This code is commented (and you will also notice that it turns green).[/color]
or
[COLOR=green]/*This code is commented (and you will also notice that it turns green).*/[/color]

------------------------------------------------------------------------------------------------------------------------
If you don't have a sense of humor, you probably don't have any sense at all.
- Anonymous
 
Thanks,but I want to know if we can do it from toolbar..
 
I do not believe there is any way to do it from the toolbar (such as can be done in Visual Basic).

------------------------------------------------------------------------------------------------------------------------
If you don't have a sense of humor, you probably don't have any sense at all.
- Anonymous
 
INTERDEV does NOT have 'Comment Block' functionality.

How we wish it did.

[red]Note:[/red] [gray]The above comments are the opinionated ravings of Mr3Putt. As such, Mr3Putt accepts no responsibility for damages, real or contrived, resulting from acceptance of his opinions as fact.[/gray]
 
also VB's REM works

[thumbsup2]DreX
aKa - Robert
if all else fails, light it on fire and do the happy dance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top