30
sentence
(se)
m n
output a list made up of its inputs. SENTENCE expects
two inputs, but will accept more if it and its inputs are
enclosed in parentheses.
list
m n
output a list composed of its inputs. LIST expects two
inputs, but can accept more if it and its inputs are
enclosed in paretheses.
firstput
(fput) m n
output an object which is created by putting the first
input at the beginning of the second input.
lastput
(lput)
m n
output a new object which is created by placing the
first input at the end of the second input.
4. Logical Commands
and
m n
accept one or more inputs which must be either TRUE
or FALSE. Output TRUE if inputs true; otherwise,
output FALSE.
not
n
output TRUE if input false; otherwise, output FALSE.
or
m n
output 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.
5. Other Commands
edit
n
enter the Logo editor and open an edit window.
load
n
transfers the contents of the file specified by its input
from the disk to the workspace.
save
n
save the contents of the workspace to a file on the disk.
open
n
open a device. If the specified file or device does not
exist, OPEN outputs FALSE.
close
n
close a device.
n
print its inputs to the output stream.
type
n
print its inputs on the screen, and the prompt appears
after the last character printed.
thing
n
output the value associated with the variable named
in the input.
pause
temporarily halt the execution of a procedure.
wait
n
insert a pause before the next instruction is run. The
length of the pause is the input to WAIT times 1/30
of a second.
readchar
(rc)
output the first character from the input stream. If no
character is waiting to be read, READCHAR waits for
input from the keyboard.
readword
(rw)
output in the form of a word from the input stream.
If no line is waiting to be read, READWORD waits for
input from the keyboard.
readlist
(rl)
output in the form of a list from the input stream. If
no line is waiting to be read, READLIST waits for input
from the keyboard.
cleartext
(ct)
clear output window content.
pots
print the titles of all user-defined procedures. POTS
stands for “Print Out Titles”.
34200Manual
2/28/00, 10:01 AM
30
Summary of Contents for SilverStreak
Page 1: ......