LOCAL allows the creation of a local variable not declared in the title line, e.g.
TO DEMO
LOCAL "STUFF
MAKE "STUFF REQUEST
IF EMPTY? :STUFF PRINT [SHY?] ELSE PRINT :STUFF
END
SETDISK takes two inputs , a drive number and a slot number, and directs all
subsequent file commands to the specified drive. Default is SETDISK 1 6.
Garbage collection of truly worthless atoms (GCTWA)has been added, with
the result that the error message NO STORAGE LEFT! does not crop up
inexplicably during long sessions .
The command to recall the previous line in immediate mode, <CTRL>P, can
now be used after the REPEAT, RUN, and DEFINE commands as well.
Self-starting files can now be created more easily . Simply create a global
variable named STARTUP. Its value should be a list containing the name(s) of
the procedure(s) to be automatically run when the file is read in.
For example, if you tell Logo
MAKE
"STARTUP (FOO) and then save the
workspace (SAVE " BAR), Logo will run FOO whenever the file BAR is read in.
PO, SAVE, EDIT, and ERASE can now take a list of procedures as input. The
PSAVEutility is thus obsolete ; now you may type (SAVE"FILENAME [PROC1
PROC2 PROC3...]) instead . You must type the parentheses.
The DOS primitive no longer supports the MON, NOMON, and VERIFY
options. The space following the option name is no longer unnecessary ; for
instance, typing DOS [BLOADPICTURE] will give an error. Adding a space
after BLOAD will correct the problem . Also, addresses given to the DOS
primitive may be expressed in either decimal or hexadecimal form .
The changes to the DOS also allow you to read Apple DOS text files. A
particular effect of this is that Apple (LCSI) Logo files can be read into
Terrapin Logo using the standard READ primitive. (Of course , the procedures
in such files will not execute properly until syntax corrections are made.)