Call Statement

Causes execution to jump to a procedure.

Syntax

Call procedure_name [ argument_list ]

Parts

procedure_name
Necessary name of a procedure.
argument_list
Optional – One or more expressions with a comma between each expression. You can put rounded brackets around the list, if that is your style.

Instructions

Examples

Call MyProc
Call MyProc()
Call MyProc 1, 2, 3
Call MyProc(1, 2, 3)

Sub MyProc(Optional a As Int, b As Int, c As Int)
End Sub

See also