Calling Subroutines
Written by Eric Smith, Northstar Computer Systems LLC
In VBScript, you can call a subroutine simply by using the name of the subroutine, as shown here:
<%
DoSomethingSubroutine arg1, arg2
%>
However, for subroutines without arguments, you may want to make your code easier to find by using the optional Call statement, as shown here:
<%
Call DoSomethingSubroutine
%>
If you have arguments, those need to follow the name of the subroutine, within parentheses. Note that the Call statement can't be used with functions, since functions are always called the same way.
Keywords: [
ASP Syntax
]
Publication Date: 7/1/1999, Last Update: 3/24/2010
|