Features
Ask DevGuru
ASP Resources
Find the Bug
Knowledge Base
Links
Tips of the Week
Tutorials
Products
dgCalendar
dgCharge New!
dgChart New!
dgFileUpload
dgReport New!
dgSort
dgTree
Site
Authoring
Coming Soon
DevGuru Resume
Link to Us
Merchandise
Sponsorships
Testimonials
What's New
Technologies
ADO 2.6
ASP
CSS2
HTML
JavaScript
Jet SQL
Transact-SQL Syntax
VBScript
WML
WMLScript
WSH
XML DOM
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