Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Statements
STATEMENT: Call
Implemented in version 1.0
Call
The
Call
statement can be used for calling a function or subroutine.
Note that the use of
Call
is optional. In other words, you can call a function or subroutine by simply stating the function's or subroutine's name. If you use
Call
and if there are one or more arguments to be passed you must enclose all of the arguments in parentheses. If you do not use
Call
, do not use the parentheses.
If you use
Call
to call a function, the return value of the function is discarded.
Code:
<% Call afunction %>
<% afunction %>
<% Call myfunction(myvar1, myvar2, mystring, myarray) %>
<% myfunction myvar1, myvar2, mystring, myarray %>
<% Call anysubroutine(anum, astring) %>
<% anothersubroutine %>
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information