NAME
CALL Statement
SYNOPSIS
[CALL] name [([argumentlist])]
o name The name of the SUB procedure to call.
o argumentlist The variables or constants to pass to the SUB
procedure. Separate multiple arguments with commas.
Specify array arguments with the array name followed
by empty parentheses.
o If you omit the CALL keyword, also omit the parentheses around
argumentlist. Either declare the procedure in a DECLARE statement
before calling it, or save the program and QBasic automatically
generates a DECLARE statement.
o To specify an argument whose value will not be changed by the
procedure, enclose the argument in parentheses.
DESCRIPTION
Transfers control to a SUB procedure.
Example:
The program REMLINE.BAS illustrates calling SUB procedures. To view or
run this program, load REMLINE.BAS using the Open command from the File
menu.
SEE ALSO
CALL ABSOLUTE DECLARE SUB