Difference between revisions of "MC-Basic:CALL"
m (Miborich moved page Axystems:MC-Basic:CALL to MC-Basic:CALL: Global renaming of Axystems: namespace into (Main):) |
|||
Line 39: | Line 39: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:PROGRAM ... END PROGRAM|PROGRAM ... END PROGRAM]] |
* [[Axystems:MC-Basic:SUB ... END SUB|SUB ... END SUB]] | * [[Axystems:MC-Basic:SUB ... END SUB|SUB ... END SUB]] | ||
}} | }} |
Revision as of 08:39, 22 May 2014
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