User Manual
MCP Series
Brushed DC Motor Controllers
MCP Series User Manual
163
GOTO
Syntax
goto label
• Label - is a label the program will jump to.
Description
The GOTO command tells the program to jump to some label.
Examples
The following program is a simple loop using GOTO that will repeat forever.
basic
Pause 800
puts 0,[0, “Basic”]
pause 800
goto micro
goto basic
micro
puts 0,[2, “ Micro”]
pause 800
Goto rules
goto basic
rules
puts 0,[2, “ Rules!”]
pause 800
goto basic