MC-Basic:CALL

From SoftMC-Wiki
Revision as of 11:00, 20 March 2014 by Lisa (talk | contribs)
Jump to: navigation, search

The CALL command transfers execution of the task to the subprogram being referenced. When the subprogram has completed, execution returns to the point in the task at which the subprogram was called.

Syntax

Call <subprogram name>

Availability

All versions

Scope

Task

Examples

Program

Call Move_X     ‘Do 10 incremental moves

End Program

See Also