Example:
<%
Dim bln
bln = False
Sub Process()
bln = True
End Sub
Sub DoOnUnload()
If bln = True Then
'This is never hit.
End If
End Sub
%>
<html>
<body OnUnload="<%DoOnUnload%>">
Process
</body>
</html>
I am new to VBScript, and if I am missing something I would like to try to understand it.
<%
Dim bln
bln = False
Sub Process()
bln = True
End Sub
Sub DoOnUnload()
If bln = True Then
'This is never hit.
End If
End Sub
%>
<html>
<body OnUnload="<%DoOnUnload%>">
Process
</body>
</html>
I am new to VBScript, and if I am missing something I would like to try to understand it.