Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

VBScript Call Statement

Transfers control to a Sub procedure or Function procedure.

Syntax: VBScript Call Statement

[Call] name [argumentslist]

Arguments: VBScript Call Statement

Call

A keyword. If specified, you must enclose argumentslist in parentheses. Optional. For example:

Call MyProc (0)

name

The name of the procedure to call. Required.

argumentslist

A comma-delimited list of variables, arrays, or expressions to pass to the procedure. Optional.

Remarks: VBScript Call Statement

You are not required to use the Call keyword when calling a procedure. However, if you use the Call keyword to call a procedure that requires arguments, argumentslist must be enclosed in parentheses. If you omit the Call keyword, you also must omit the parentheses around argumentslist. If you use either Call syntax to call any intrinsic or user-defined function, the function's return value is discarded.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.