all groups > inetserver asp db > march 2004 >
You're in the

inetserver asp db

group:

Option Explicit but 'the opposit'


Re: Option Explicit but 'the opposit' Manohar Kamath [MVP]
3/31/2004 1:39:11 PM
inetserver asp db:
Since ASP is not compiled, the editor will not give you any error. Plus,
having this error at runtime would not be user friendly either.

Some compilers, such as C++ ones, do tell the users about such variables.
But still, they are only warnings and not errors.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com


[quoted text, click to view]

Re: Option Explicit but 'the opposit' Aaron Bertrand [MVP]
3/31/2004 1:46:12 PM
Nothing that I know of other than manual inspection of the code.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


[quoted text, click to view]

Option Explicit but 'the opposit' Bob The ASP Builder
3/31/2004 8:32:26 PM


Im in the final stages of cleaning up an xtensive ASP/Access-db
project. I've ran everything through with Option Explicit - and that
proved to be VERY helpful.

Now - is there a similar command to put in that helps tracing declared
objects that is never used

I.e - see below simple example - I want a command that would tell me
that - hmm - is declared, but never put to use


<html>
<%
Dim outch

Dim hmm

outch = "painful"

%>
<table><tr><td><%=outch%></td></tr></table>
AddThis Social Bookmark Button