Since version 0.9
Syntax:
[call] <proc_name> [(<argument1>, <argument2>, ...)]
The CALL
command calls a procedure.
proc_name
is the identifier of a previously defined procedure. The argument list is optional.
See PROC ... ENDPROC for more information and examples.
Since version 2.2, the CALL
keyword as well as the parentheses can be omitted and thus procedures can be called as if they were commands. For example:
const LT_BLUE = 14 rem ** Clears the screen and sets color ** proc cls(color!) memset $0400, 1000, 32 memset $d800, 1000, color! endproc rem ** Call the routine ** cls LT_BLUE print "screen cleared"