home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kids Cube
/
6_Math.iso
/
roo
/
language
< prev
next >
Wrap
Text File
|
1992-01-21
|
1KB
|
51 lines
A Short Description Of The Roo&Robby Language
This document contains main characteristics of the language used in the
Roo and Robby environments.
1. Linear Programs:
Every line may contain only one command. No labels, GOTO, and the like.
All possible commands are attached to function keys so one can see all of
them listed in the F-key line (the top line in the screen).
2. Branchings (IF-statements) have one of the following two forms:
if <condition> then
............
the end of branching
or
if <condition> then
..............
otherwise
..............
the end of branching
Here and below "............." means any program (without subroutines).
You may see all the possible condition if you press the F-key "If".
3. Cyclings (loops) have the following form:
while <condition> repeat
............
the end of cycling
Here <condition> means the same as in the previous paragraph.
4. Subroutines have the following form:
subroutine <name>
..............
the end of subroutine
All subroutines must be placed after the main program.
Command
do <name>
will force Roo or Robby to execute the subroutine <name>.