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
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-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information