S
steve
I have Option Explicit ON by the way.
I have declared a variable in one subprocedure which is being used by
another subprocedure. But it doesn' seem to work. I am doing something
similar to this (but obviously with much more code):
<%
Option Explicit
Call X
Call Z
Sub X
Dim Y
Y = "Hello"
End Sub
Sub Z
response.write Y
End Sub
%>
Is this not possible and is there anyway (apart from breaking up the
sub procedures) of keeping the code separated and organized in this
fashion.
I have declared a variable in one subprocedure which is being used by
another subprocedure. But it doesn' seem to work. I am doing something
similar to this (but obviously with much more code):
<%
Option Explicit
Call X
Call Z
Sub X
Dim Y
Y = "Hello"
End Sub
Sub Z
response.write Y
End Sub
%>
Is this not possible and is there anyway (apart from breaking up the
sub procedures) of keeping the code separated and organized in this
fashion.