11. Robot Language Explanation
------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
11 - 20
※ Note : The commands inserted between the commands such as GOSUB∼RETURN, IF∼ENDIF,
FOR∼NEXT must be executed in one's inside. In other words, program can not branch
off to one's outside by using command such as GOTO or IF command when the block commands
is being executed. If not, program can not be executed properly.
But it can branch off one's inside.
(1) Example can make errors.
IF V1%>100 THEN
GOTO *RANGE ← IF command branch off the outside. It can be errors.
ENDIF
PRINT V1%
END
*RANGE
PRINT "RANGE ERROR"
END
(2) Example can executed properly
IF V1%>100 THEN *RANGE
PRINT V1%
END
*RANGE
PRINT "RANGE ERROR"
END