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

Aibo General

Aibo Development

Wiki Help

Aibo Links

R-Code » BREAK

BREAK Statement

Breaks out of the loop currently being executed. Used the same way for all loop types.

Models

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

Syntax

BREAK[:level]

The BREAK statement syntax has the following parts:

PartDescription
levelOpional. Specifies the number of nested loop(s) to break out of. Must be a constant value, variables cannot be specified. When omitted, a value is 1 used by default.

Example


   FOR:count:1:100
      IF:count:>:10:BREAK
      PRINT:"Count = %d":count
   NEXT
 

Edit - History - Print - Recent Changes - Search - Site Terms of Use
Page last modified on February 07, 2006, at 09:38 PM CST