Recent Changes - Search:
Email iofreak@yahoo.com with comments and/or suggestions.

Aibo General

Aibo Development

Wiki Help

Aibo Links

R-Code » GO

GO Statement

Jump program to a specified line.

Models

ERS-210 ERS-220 ERS-31x ERS-7

Syntax

GO:label

The GO statement syntax has the following parts:

PartDescription
labelThe user defined label to jump to.

Example(s)


   GO:Skip
   PRINT:"Never reach this line."

:Skip
   PRINT:"Skipped!"
 

Remarks

It is safe to use a GO statement to break out of a loop structure, but GO statements cannot jump outside of the current subroutine scope, doing so will result in a stack overflow.

Try to keep the use of GO statements to a minimum.

Edit - History - Print - Recent Changes - Search - Site Terms of Use
Page last modified on February 10, 2006, at 08:29 PM CST