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

Aibo General

Aibo Development

Wiki Help

Aibo Links

R-Code » LOCAL

LOCAL Statement

Declares a variable with local scope. Local variables are stored on the stack. The space for a local variable is freed when program execution leaves its subroutine or scope.

Note If a variable name is not declared in an R-CODE program (using either GLOBAL or LOCAL) the R-CODE system will automatically create that variable with global scope.

Models

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

Syntax

LOCAL:variable[:value]

The LOCAL statement syntax has the following parts:

PartDescription
variableThe name of the variable to create.
valueOptional. Starting value for the variable.

Example(s)


   LOCAL:y:0
 

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