Skip to main content
Previous section   Next section

[

Transfers execution to another PROC, then returns.

Synopsis

[ [DICT] filename [procname] []] [label]

Arguments

filename The name of the file the contains the target PROC. filename can be a file name, or a reference to a buffer or a select list that contains the file name.
procname The name of the target PROC within the specified file. procname can be a PROC name, or a reference to a buffer or a select list that contains the PROC name.
label Optional — An integer specifying a label within the called PROC to jump to. If not specified, execution begins at the first line of the PROC. The optional closing bracket is required when specifying a label. For further details on labels, refer to the GO command.

Description

The [ PROC command calls the specified PROC. Upon completion, execution returns to the invoking PROC. To call a PROC without returning to the invoking PROC, use the ( command.

The optional DICT keyword specifies that the PROC is stored in the file dictionary. The DICT keyword is not case-sensitive.

See Also

  • ( PROC command

Previous section (    ANext section