All Statements
Eval Function
STATEMENT: Execute
Execute
(String)
The
Execute
statement takes a single string argument, interprets it as a VBScript statement or sequence of statements, and executes these statements in the current context. No value is returned. If you wish to evaluate an expression (which returns a value) use the
Eval
function instead.
To pass multiple statements to the
Execute
function you should use colons or line-breaks as separators.
Unlike the
Eval
function,
Execute
interprets all "=" operators as assignments rather than comparisons.
Code:
<%
Execute("Call MySub 4, strArg2")
%>
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information