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

Aibo General

Aibo Development

Wiki Help

Aibo Links

R-Code » WHILE

WHILE...WEND Statement

Executes the block of statements between WHILE and WEND repeatedly for as long as the specified expression is evaluated as true.

Models

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

Syntax

WHILE:val1:op:val2
...
WEND

The WHILE...WEND statement syntax has the following parts:

PartDescription
val1Variable or constant.
opA valid boolean operator (=, ==, <>, !=, <, <=, >, >=, &, |, ^, &&, ||).
val2Variable or constant.

Example(s)


   // count upward from 1 to 10
   LET:i:1
   WHILE:i:<:10
      PRINT:"i=%d":i
      ADD:i:1
   WEND
 

Edit - History - Print - Recent Changes - Search - Site Terms of Use
Page last modified on February 11, 2006, at 06:04 PM CST