
31
4. Other instruction
edit
enter the LOGO editor and opens an edit
window.
load
transfer the contents of the file specified
by its input from the disk to the orkspace.
save
save the contents of the workspace to a
file on the disk.
open
open a device. If the specified file or
device does not exist, OPEN outputs
FALSE.
close
close a device.
print its inputs to the output screen.
type
TYPE prints its inputs on the screen, and
the prompt appears after the last character
printed.
cleartext (ct)
clear output window content.
pots
print the titles of all user-defined
procedures. POTS stands for “Print Out
Titles”.
erase (er)
remove the definition of its input from the
workspace. The input to ERASE must be
a procedure name.
eraseall (erall)
remove all procedures and variables from
the workspace.
5. Flow control instruction
and:
AND accepts one or more inputs which
must be either TRUE or FALSE. AND
outputs TRUE if all of its inputs are true;
otherwise, it outputs FALSE.
not:
NOT outputs TRUE if its input is false;
otherwise, it outputs FALSE.
or:
OR outputs FALSE if all of its inputs are
false; otherwise,it outputs TRUE. OR
accepts one or more inputs which must
be either TRUE or FALSE.
Untitled-3
10/16/01, 2:37 PM
31