|
Transfers control to a Sub procedure or Function procedure.
[Call] name [argumentslist]
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.
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.