home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
d
/
doslogo.zip
/
LOGOHLP.ZIP
/
RUN.HLP
< prev
next >
Wrap
Text File
|
1990-06-11
|
577b
|
18 lines
run -- Command or operation, one input.
The input must be a list, containing a Logo instruction line. The
list is run as if you typed it directly to Logo. Example:
to while :condition :cmd
if not run :condition [stop]
run :cmd
while :condition :cmd
end
make "number 1
while [:number < 5] [print :number; make "number :number+1]
The run procedure can be used as an operation, if its input is a Logo
expression which produces a value, instead of a complete instruction:
print run [sum 2 3]