Call
The Call statement is used to invoke a function or subroutine.
You are not required to use this statement which invoking a subroutine
or function, but it can make your code easier to read in some cases.
Another instance where you might like to use the Call statement
is when you call a subroutine like a function. Normally, a subroutine
call does not require parentheses around the parameters. If you wish
to use parentheses, then you should invoke the subroutine with the
Call statement.
Call locTest("THX1138")
Sub locTest(sName) Response.Write sName & " is cool" End Sub
|
 |

|