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

Option Explicit causes error! 1

Status
Not open for further replies.

culshaja

Programmer
Aug 10, 1999
705
GB
When I run an ASP page on Personal Web Server on NT4 Workstation and have option explicit in the second line after I note that I am using VBScript I get a run-time error caused by option explicit. What am I doing wrong?<br><br>James :) <p>James Culshaw<br><a href=mailto:james_culshaw@activedatasolutions.madasafish.com>james_culshaw@activedatasolutions.madasafish.com</a><br><a href= > </a><br>
 
Hard to tell withour seeing the code.&nbsp;&nbsp;What error are you getting? <p>nick bulka<br><a href=mailto:nick@bulka.com>nick@bulka.com</a><br><a href= > </a><br>
 
is <b><FONT FACE=monospace>Option Explicit</font></b> after a <b><FONT FACE=monospace>Dim</font></b> line? the <b><FONT FACE=monospace>Option</font></b> statements must be at the beginning of a module. try making it the first statement.<br> <p>mr s. <;)<br><a href=mailto: > </a><br><a href= > </a><br>why does it never do what is says it does in the manual?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top