Where will you code OPTION EXPLICIT in an ASP application?

WHY?

Showing Answers 1 - 4 of 4 Answers

K.Ravichandran

  • Mar 16th, 2005
 

used to forece the variable declaration

  Was this answer useful?  Yes

Kamal

  • Sep 12th, 2005
 

It should be the first line in the asp file.

  Was this answer useful?  Yes

sanker

  • Oct 24th, 2005
 

In script language above the body.

ex:

<%
Option Explicit
Function PrintHello
Dim i
For i= 1 to 5

%> <font size=<%=i%>>Hello</font>> <%
Next
End Function
%>

  Was this answer useful?  Yes

balu

  • Oct 25th, 2005
 

on the top of the page. as it forces variables to be declared first before usage

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions