comment blocks of code in ASP

by Nirmala 2009-09-24 11:25:59

Comment blocks of code in ASP
If you want to comment blocks of code just use the below procedure
<%
Sub doNotExecuteThisCode
Response.Write("Comment blocks of code")
Response.Write("Hi")
Response.Write("Hellow")
End Sub
%>

Now the blocks of code will be commented.

If you want to execute commented lines just use the below procedure
<%
'Sub doNotExecuteThisCode
Response.Write("Comment blocks of code")
Response.Write("Hi")
Response.Write("Hellow")
'End Sub
%>

Now the commented code will be executed.

Tagged in:

1348
like
1
dislike
0
mail
flag

You must LOGIN to add comments