The Workspace
All commands related to the Logo workspace.
.DEFMACRO
Defines a macro; two inputs.
Syntax
.DEFMACRO name instructionlist
Description
.DEFMACRO defines a procedure just like the DEFINE command. A macro, however, must always return a runlist that Logo executes in place of the called macro after the macro ends. This feature permits the writing of procedures that modify the execution of their callers at runtime. If a procedure calls a macro, it has the same effect as the procedure running the runlist that the macro returned instead of the macro itself. See also .MACRO.
.MACRO
Defines a macro.
Syntax
.MACRO procname :inputs...
.MACRO procname ... [:optional-input value] ... argcount
Description
.MACRO defines a procedure just like the TO command. A macro, however, must always return a runlist that Logo executes in place of the called macro after the macro ends. This feature permits the writing of procedures that modify the execution of their callers at runtime. If a procedure calls a macro, it has the same effect as the procedure running the runlist that the macro returned instead of the macro itself. The MACROEXPAND command expands a macro to show the returned runlist. See also .DEFMACRO.
Examples
.MACRO LOADMOUSE LMAKE “M MOUSE OP (SE “LMAKE ““X FIRST :M “LMAKE ““Y LAST :M) END Result: LOADMOUSE defined TO CHECK.MOUSE LOADMOUSE IF :X < -100 OR :X > 100 [PR [X IS OUT OF RANGE]] IF :Y < -100 OR :Y > 100 [PR [Y IS OUT OF RANGE]] END Result: CHECK.MOUSE defined CHECK.MOUSE Result: Y is out of range
ALIAS
Defines alias names; two inputs.
Syntax
ALIAS old-name new-name
Description
ALIAS defines a new procedure name with the same meaning as an existing procedure name. The new name is an alias name for the existing name and behaves exactly like that name. Values or properties stored as a name are not aliased.
ALIAS is handy for defining shortcuts or translations of commands.
Examples
ALIAS “FORWARD “ADELANTE ADELANTE 50
BURIED
Outputs a structured contents list of all buried elements; no inputs.
Syntax
BURIED
Description
BURIED outputs a structured contents list of all buried, non-empty elements.
Examples
MAKE “N 1 BURYNAME “N BURIED Result: [[] [N] []]
BURIED?
Also: BURIEDP
Outputs TRUE if the element described by its input is buried; one input.
Syntax
BURIED? name
Description
BURIED? outputs TRUE if the element described by its input is buried. If the input is a list or a structured contents list, BURIED? outputs the buried state of the first non-empty element of the list.
BURIEDNAMES
Outputs a list of all buried names; no inputs.
Syntax
BURIEDNAMES
Description
BURIEDNAMES outputs a list of all buried names. BURIEDNAMES is an abbreviation for FIRST BUTFIRST BURIED.
Examples
MAKE “N 1 BURYNAME “N BURIEDNAMES Result: [N]
BURIEDPROCS
Outputs a list of all buried procedures; no inputs.
Syntax
BURIEDPROCS
Description
BURIEDPROCS outputs a list of all buried procedures. BURIEDPROCS is an abbreviation for FIRST BURIED
BURIEDPROPS
Outputs a list of all buried property lists; no inputs.
Syntax
BURIEDPROPS
Description
BURIEDPROPS outputs a list of all buried property lists. BURIEDPROPS is an abbreviation for LAST BURIED
Examples
PPROP “STAN “AGE “YOUNG BURYPROP “STAN BURIEDPROPS Result: [STAN]
BURY
Makes names and procedures invisible; expects a minimum of one input, but parentheses are needed if not called with one input.
Syntax
BURY procedureName
BURY [procedureName procedureName ...]
BURY contents-list
(BURY procedureName procedureName ...)
Description
BURY hides the object(s) specified by its input from the general Logo workspace. Buried elements are like primitives. They are not listed anymore with any of the commands that return lists of elements, like PROCEDURES. The PRINTOUT command does not list their content.
See also BURIEDNAMES, BURIEDPROCS, BURIEDPROPS, BURYALL, BURYNAME, BURYPROC, and BURYPROP.
Examples
MAKE “B 456 PON “B B is 456 BURY NAMELIST “B PON “B UNBURY NAMELIST “B PON “B B is 456
BURYALL
Makes all names and procedures invisible; no inputs.
Syntax
BURYALL
Description
BURYALL makes all names and procedures invisible.
BURYNAME
Makes one or more names invisible; one input.
Syntax
BURYNAME name-or-list
Description
BURYNAME makes either a single name or a list of names invisible. BURYNAME is an abbreviation for BURY NAMELIST name-or-list.
BURYNAMES
Makes all names invisible; no inputs.
Syntax
BURYNAMES
Description
BURYNAMES makes all names invisible. BURYNAMES is an abbreviation for BURY NAMES.
BURYPROC
Makes one or more procedures invisible; one input.
Syntax
BURYPROC name-or-list
Description
BURYPROC makes either a single procedure or a list of procedures invisible. BURYPROC is synonymous to BURY.
BURYPROCS
Makes all procedures invisible; no inputs.
Syntax
BURYPROCS
Description
BURYPROCS makes all procedures invisible. BURYPROCS is an abbreviation for BURY PROCEDURES.
BURYPROP
Makes one or more property lists invisible; one input.
Syntax
BURYPROP name-or-list
Description
BURYPROP makes either a single property list or a list of property lists invisible. BURYPROP is synonymous to BURY PLLIST name-or-list.
BURYPROPS
Makes all property lists invisible; no inputs.
Syntax
BURYPROPS
Description
BURYPROPS makes all property lists invisible. BURYPROPS is an abbreviation for BURY PLISTS.
CONTENTS
Outputs a complete structured contents list; no inputs.
Syntax
CONTENTS
Description
CONTENTS outputs a structured contents list containing all user-defined and unburied procedure names, names, and property list names. The list is a three-element list: the first element is a list of all procedure names, the second a list of all names, and the third element is a list of all property list names.
Many commands accept a structured contents list as input. This makes it possible to supply a targeted collection of procedure names, names, and property lists. For example, the list [[] [MYNAME] []] would refer to the name MYNAME, and the list [[MYPROC] [] [A B]] would refer to the procedure MYPROC, and the property lists A and B.
Examples
(PR “Procedures: ITEM 1 CONTENTS) Procedures: SQUARE NICKNAME (PR “Names: ITEM 2 CONTENTS) Names: (PR “Propertylists: ITEM 3 CONTENTS) Propertylists: JOE JACK
COPYDEF
Copies a procedure definition; two inputs.
Syntax
COPYDEF newname currentname
Description
COPYDEF copies the definition of its second input to its first input. The second input to COPYDEF must be a name of either a procedure or a primitive. Primitives cannot be redefined. Note that when you use COPYDEF with a command, its abbreviation is not affected.
DEFINE
Defines a procedure; two inputs.
Syntax
DEFINE name instructionlist
Description
DEFINE creates a new procedure with the name of its first input. The second input to DEFINE determines the definition of the procedure. Any variables for the title line must be in a list that is the first element of the list of instructions, with no dots (:) before their names. If there are no variables, the first element must be the empty list. Each remaining element in the list of instructions is a list that consists of one line of the procedure definition. The list of instructions is written in the same form as the output of TEXT. END must not be included in the list of instructions, as it is not part of the definition.
Examples
DEFINE “SQUARE [[DIST] [REPEAT 4 [FD :DIST RT 90]]] SQUARE 100
EDALL
Edits the entire Logo workspace; no inputs.
Syntax
EDALL
Description
EDALL loads all of the unburied Logo procedures, names, and properties into the editor. EDALL is an abbreviation for EDIT CONTENTS.
EDIT
Edits parts or all of the Logo workspace; expects between zero inputs and one input, but parentheses are needed if not called with one input.
Syntax
EDIT name
EDIT [name1 name2 name3 ...]
EDIT [structured contents list]
(EDIT)
Description
EDIT CONTENTS opens the editor and loads all the unburied procedures, names, and property lists that exist in the workspace. EDIT NAMES opens the editor and installs all the user-defined names in the workspace (names defined with MAKE). EDIT PROCEDURES opens the editor with the contents of all the user-defined procedures in the workspace. EDIT PLISTS opens the editor with the contents of all the user-defined properties in the workspace.
EDIT can also be used with a three-element contents list as its input (NAMES, PROCEDURES and PLISTS all output a structured contents list). EDIT edits all procedures, names and properties mentioned in that contents list.
EDN
Edits one or more Logo names; one input.
Syntax
EDN name-or-list
Description
EDN loads the unburied Logo name or the list of unburied Logo names into the editor. EDN is an abbreviation for EDIT NAMELIST name-or-list.
EDNS
Edits all Logo names; no inputs.
Syntax
EDNS
Description
EDNS loads all of the unburied Logo names into the editor. EDNS is an abbreviation for EDIT NAMES.
EDPL
Edits one or more Logo property lists; one input.
Syntax
EDPL name-or-list
Description
EDPL loads the unburied property list or the list of unburied property lists into the editor. EDPL is an abbreviation for EDIT PLLIST name-or-list.
If EDPL is called with a single name as input, a property editory opens that lets you edit the properties of that name interactively.
EDPLIST
Edits the properties of a property list, a widget, or a panel; one input.
Syntax
EDPLIST name
Description
EDPLIST invokes the property editor for a property list, a widget (like a turtle), or a panel. Its input is the name or the object to edit. For widgets and panels, simply right-click the widget or panel. The editor for these panels displays a simplified editor initially; to edit all properties, click the list icon in the panel’s header bar.
Once a property has been changed, a green arrow appears; clicking that arrow resets the property to its initial value.
Examples
EDPLIST “PREFS
EDPLS
Edits all Logo properties; no inputs.
Syntax
EDPLS
Description
EDPLS loads all of the unburied Logo properties into the editor. EDPLS is an abbreviation for EDIT PLISTS.
EDPS
Edits all user-defined, unburied procedures; no inputs.
Syntax
EDPS
Description
EDPS loads user-defined, unburied procedures into the editor. EDPS is an abbreviation for EDIT PROCEDURES.
ERALL
Erases the entire Logo workspace; no inputs.
Syntax
ERALL
Description
ERALL erases all unburied Logo procedures, names, and properties.
ERASE
Also: ER
Erases Logo elements; one input.
Syntax
ERASE procname
ERASE [procname1 procname2 procname3 ...]
ERASE contents-list
Description
ERASE removes the definition of its input from the workspace. The input to ERASE must be an quoted procedure name or list of procedure names, or the name of an object like a turtle. It can also be a structured contents list (see ALL). ERASE erases all definitions of a name, including its aliases defined with the ALIAS command, regardless of whether the original name or an alias name is used as input. ERASE NAMES removes all user-defined names from the workspace. ERASE PROCEDURES removes all procedures from the workspace. ERASE PLISTS removes all property lists from the workspace. ERASE CONTENTS removes all procedures and names from the workspace.
Use ERASE to erase Logo objects as well. Use the ERASE command just as you would use it to erase procedures. The command ERASE 0, for example, erases the turtle 0.
ERN
Erase one or more Logo names; one input.
Syntax
ERN name-or-list
Description
ERN erases the unburied Logo name or the list of unburied Logo names. ERN is an abbreviation for ERASE NAMELIST name-or-list.
ERNS
Erases all Logo names; no inputs.
Syntax
ERNS
Description
ERNS erases all of the unburied Logo names. ERNS is an abbreviation for ERASE NAMES.
ERPL
Erases one or more Logo property lists; one input.
Syntax
ERPL name-or-list
Description
ERPL erases the unburied Logo property list or the list of unburied Logo property lists. ERPL is an abbreviation for ERASE PLLIST name-or-list.
ERPLS
Erases all Logo properties; no inputs.
Syntax
ERPLS
Description
ERPLS erases all of the unburied Logo properties. ERPLS is an abbreviation for ERASE PLISTS.
ERPS
Erases all procedures; no inputs.
Syntax
ERPS
Description
ERPS erases all unburied Logo procedures. ERPS is an abbreviation for ERASE PROCEDURES.
HELP
Displays help for a command; one input.
Syntax
HELP commandname
Description
HELP displays the help file for the requested command.
Examples
HELP “FORWARD
LOAD
Loads a file into Logo; expects between zero inputs and one input, but parentheses are needed if not called with one input.
Syntax
LOAD filename
LOAD [extensions-list]
(LOAD)
Description
LOAD transfers the contents of the file specified by its input from a file system to the Logo workspace. The entire file is treated as though it were typed from the keyboard. LOAD throws an error if the file is not successfully loaded.
If no file name extension is specified, LOAD loads the file filename.LGO. To load a file that has no extension, a period is necessary after the filename.
If you use a list of file extensions as the file name, or use the command without inputs, Logo displays a dialog that lets you select a file name.
NAMELIST
Outputs a structured contents list with names; one input.
Syntax
NAMELIST name-or-list
Description
NAMELIST outputs its input as a structured contents list. Its input is converted to a list if it is not a list, and the output contains that list as its second element. The first and third elements are the empty list. NAMELIST can be used to input a structured list of names to procedures that accept a contents list.
Examples
NAMELIST “HI Result: [[][HI][]] NAMELIST [HI WORLD] Result: [[][HI WORLD][]]
NAMES
Outputs a structured contents list with all names; no inputs.
Syntax
NAMES
Description
NAMES outputs a structured contents list containing all user-defined, unburied names. The list is a three-element list; the first element is an empty list, the second is a list of all names, and the third element is again an empty list.
Examples
NAMES Result: [[] [N SIZE] []]
PHELP
Displays help for a property; one input.
Syntax
PHELP propertyname
Description
PHELP displays the help file for the requested property name.
Examples
HELP “ALIGN
PLISTS
Also: PROPERTIES
Outputs a structured contents list with all properties; no inputs.
Syntax
PLISTS
Description
PLISTS outputs a structured contents list containing all user-defined, unburied properties. The list is a three-element list; the first and second elements are empty lists, and the third element is a list of all names that have properties.
Examples
PPROP “CAR “MAKE “BMW PROPERTIES Result: [[][][CAR]]
PLLIST
Outputs a structured contents list with properties; one input.
Syntax
PLLIST name
PLLIST list
Description
PLLIST outputs its input as a structured contents list. Its input is converted to a list if it is not a list, and the output contains that list as its third element. The first and second elements are the empty list. PLLIST can be used to input a structured list of property list names to procedures that accept a contents list.
Examples
PLLIST “HI Result: [[][][HI]] PLLIST [HI WORLD] Result: [[][][HI WORLD]]
POALL
Prints the entire Logo workspace; no inputs.
Syntax
POALL
Description
POALL prints the unburied Logo procedures, names, and properties. POALL is an abbreviation for PRINTOUT CONTENTS.
PON
Prints a Logo name; one input.
Syntax
PON name
Description
PON prints the name given by its first input if it is unburied.
Examples
MAKE “N 1 PON “N N is 1
PONS
Prints all Logo names; no inputs.
Syntax
PONS
Description
PONS prints all of the unburied Logo names. PONS is an abbreviation for PRINTOUT NAMES.
POPL
Prints one or more Logo property lists; one input.
Syntax
POPL name-or-list
Description
POPL prints the unburied Logo property list or the list of unburied Logo property lists. POPL is an abbreviation for PRINTOUT PLLIST name-or-list.
POPLS
Prints all Logo properties; no inputs.
Syntax
POPLS
Description
POPLS prints all of the unburied Logo properties. POPLS is an abbreviation for PRINTOUT PLISTS.
POPS
Prints all Logo procedures; no inputs.
Syntax
POPS
Description
POPS prints all stored procedure definitions. POPS is an abbreviation for PRINTOUT PROCEDURES.
POT
Prints the title line of one or more user-defined procedures; one input.
Syntax
POT name-or-list
Description
POT prints the titles of one or more user-defined procedures. To print out procedure definitions, use PRINTOUT.
POTS
Prints the title line of all user-defined procedures; no inputs.
Syntax
POTS
Description
POTS prints the titles of all user-defined procedures. To print out procedure definitions, use POPS. POTS is an abbreviation for POT PROCEDURES.
PRIMITIVES
Outputs a structured contents list with all primitives; no inputs.
Syntax
PRIMITIVES
Description
PRIMITIVES outputs a structured contents list containing all built-in procedure names. The list is a three-element list; the first element is a list of all procedure names, and the second and third elements are the empty list.
PRINTOUT
Also: PO
Prints procedures, names, or properties; expects a minimum of one input, but parentheses are needed if not called with one input.
Syntax
PRINTOUT procname
(PRINTOUT procname1 procname2 ...)
PRINTOUT contents-list
Description
PRINTOUT prints the names, definitions, and values specified by its input.
PRINTOUT CONTENTS prints out all procedure titles, definitions, variable names and values, and property lists. PRINTOUT CONTENTS can be abbreviated to POALL.
PRINTOUT NAMES prints out all user-defined variable names and values. PRINTOUT NAMES can be abbreviated to PO NAMES or PONS.
PRINTOUT PROCEDURES prints out all user-defined procedure titles and definitions. PRINTOUT PROCEDURES can be abbreviated to PO PROCEDURES or POPS.
PRINTOUT PRIMITIVES prints out all built-in procedure titles. PRINTOUT PRIMITIVES can be abbreviated to PO PRIMITIVES.
PRINTOUT also accepts a structured content list, and prints all elements in that list.
PROCEDURES
Outputs a list with all user procedures; no inputs.
Syntax
PROCEDURES
Description
PROCEDURES outputs a list containing all user-defined, unburied procedure names. Note that this is not a structured contents list, but all commands that accept such a list can also work with the list returned by PROCEDURES. Use PROCLIST to get a structured contents list.
Examples
PROCEDURES Result: [SQUARE TRIANGLE]
PROCLIST
Outputs a structured contents list with procedures; one input.
Syntax
PROCLIST name
PROCLIST list
Description
PROCLIST outputs its input as a structured contents list. Its input is converted to a list if it is not a list, and the output contains that list as its first element. The second and third elements are the empty list. PROCLIST can be used to input a structured list of procedures to procedures that accept a contents list.
Examples
PROCLIST “HI Result: [[HI][][]] PROCLIST [HI WORLD] Result: [[HI WORLD][][]]
QUIT
Also: EXIT, BYE
Ends Logo; no inputs.
Syntax
BYE
Description
BYE ends the Logo session and logs you out. The command names QUIT and EXIT perform the same function.
RESTART
Erases everything and restarts Logo; expects between zero inputs and one input, but parentheses are needed if not called with any inputs.
Syntax
RESTART
(RESTART TRUE)
Description
RESTART erases all Logo contents and reinitializes Logo. When RESTART is used, a confirmation dialog box appears. If RESTART and its optional argument TRUE are enclosed in parentheses, Logo will be restarted without the appearance of the confirming dialog!
SAVE
Saves the workspace; expects between zero inputs and one input, but parentheses are needed if not called with one input.
Syntax
SAVE filename
SAVE [extensions-list]
(SAVE)
Description
SAVE saves the contents of the Logo workspace to a file system. This includes all defined procedures and names, the “PREFS properties, and all buried names. Workspace files are saved as text files.
If no file name extension is specified, SAVE saves the file with the name filename.lgo. To save a file that has no extension, a period is necessary after the filename.
To save the entire Logo environment, including turtles, panel layouts, and the editor contents, click the Save File icon and select “Save a Logo environment file”.
If you use a list of file extensions as the file name, or use the command without inputs, Logo displays a dialog that lets you specify the file name.
BS
Also: BLOCKSSCREEN
Arranges the Blocks, Graphics, Listener, and Editor panels; no inputs.
Syntax
BS
Description
Arranges the Blocks, Graphics, Listener, and Editor panels. The Blocks and Graphics panels are to the left underneath of each other, and the Editor and Listener panels are to the right.
You can also use MAKE "LAYOUT "BS
, or select the layout in the Layouts dialog.
See also TS, FS, SS, SSV, ES, ESV, and BSV.
BSV
Arranges the Blocks, Graphics, Lister and the Editor panels; no inputs.
Syntax
BSV
Description
BSV arranges the Blocks, Graphics, Listener, and Editor panels. The Blocks and Graphics panels are to the left side-by-side, and the Editor and Listener panels are to the right.
You can also use MAKE "LAYOUT "BSV
, or select the layout in the Layouts dialog.
See also TS, FS, SS, SSV, ES, ESV, and BS.
FS
Also: FULLSCREEN
Switches to the Full Screen perspective; no inputs.
Syntax
FS
Description
FS minimizes the Listener panel and maximizes the Graphics panel.
You can also use MAKE "LAYOUT "FS
, or select the layout in the Layouts dialog.
See also FS, TS, SSV, ES, ESV, BS and BSV.
ES
Also: EDITSCREEN
Makes the Graphics, Listener, and Editor panels visible; no inputs.
Syntax
ES
Description
Makes the Graphics, Listener, and Editor panels visible. The Graphics and Listener panels are to the left, and the Editor panel is to the right.
You can also use MAKE "LAYOUT "ES
, or select the layout in the Layouts dialog.
See also TS, FS, SS, SSV, ESV, BS and BSV.
ESV
Makes the Graphics panel, the Lister panel and the Editor panel visible; no inputs.
Syntax
ESV
Description
ESV makes the Graphics panel, the Lister panel and the Editor panel visible. The Graphics panel is to the left, while the Editor and Listener panels are to the right.
You can also use MAKE "LAYOUT "ESV
, or select the layout in the Layouts dialog.
See also TS, FS, SS, SSV, ES, BS and BSV.
SS
Also: SPLITSCREEN
Displays the Graphics panel above the Listener panel; no inputs.
Syntax
SS
Description
SS displays the Graphics panel above the Listener panel.
You can also use MAKE "LAYOUT "SS
, or select the layout in the Layouts dialog.
See also TS, FS, SSV, ES, ESV, BS and BSV.
SSV
Displays the Graphics panel to the left of the Listener panel; no inputs.
Syntax
SSV
Description
SSV displays the Graphics panel to the left of the Listener panel.
You can also use MAKE "LAYOUT "SSV
, or select the layout in the Layouts dialog.
See also TS, FS, SS, ES, ESV, BS and BSV.
TS
Also: TEXTSCREEN
Minimizes the Graphics panel and maximizes the Listener panel; no inputs.
Syntax
TS
Description
TS minimizes the Graphics panel and maximizes the Listener panel.
You can also use MAKE "LAYOUT "TS
, or select the layout in the Layouts dialog.
See also FS, SS, SSV, ES, ESV, BS and BSV.
TO
Defines a procedure.
Syntax
TO procname
TO procname :input ...
TO procname ... [:optional-input value] ... argcount
Description
TO is the first word of a procedure definition. When typed at toplevel and followed by an unquoted procedure name, the prompt changes to the procedure name as lines are typed in. A single line containing the word END ends the procedure definition.
The input to the procedure follows the procedure name. Each input is a colon, followed by the name of the input variable. It is possible to define inputs with default values. These input variables are preset with the given value if the procedure is called with too few inputs. An optional input is a two-element list. The first element is a colon, followed by the name of the input variable, and the second element is the default value. Also, the last input may be a single-element list containing a colon, followed by the input variable name. Such an input variable collects all additional inputs into a list and assigns this list to the input variable. If there are too few inputs, the variable is set to the empty list.
Note: The value for the optional input is not evaluated. It cannot be an expression, and quoted values remain quoted.
It is possible to define the default number of inputs. This number is the number of inputs that Logo feeds the procedure with if the procedure call is not enclosed in parentheses. The number is given as the last element of the TO command. It must always be equal to or greater than the number of non-list inputs. If there is no number given, the number of inputs amounts to the number of inputs that are not lists.
The command TO FUNC :ONE [:TWO 2] 1 defines, for example, the procedure FUNC, with one required and one optional input. If the call is not enclosed in parentheses, Logo will call the procedure with one input, and set the input :TWO to the value 2. Otherwise, Logo will send :TWO to the second input. Thus, FUNC 123 would set :ONE to 123, and :TWO to 2, but (FUNC 123 456) would set :TWO to 456.
If, for example, the command is TO FUNC [:ARGS] 2, Logo usually calls FUNC with two inputs. Both inputs are concatenated into a list and assigned to the variable :LIST. Using the command FUNC “A “B sets :LIST to [A B]; using (FUNC 1 2 3) sets :LIST to [1 2 3], and (FUNC) sets :LIST to the empty list.
Examples
; with optional inputs TO FUNC :A [:B 2] 1 OP LIST :A :B END Result: FUNC defined FUNC 11 Result: 11 2 (FUNC 11 22) Result: 11 22 ; define with a list TO FUNC [:LIST] 1 OP :LIST END Result: FUNC redefined FUNC 11 Result: [11] (FUNC 11 22) Result: [11 22]
UNBURY
Makes names and procedures visible; expects a minimum of one input, but parentheses are needed if not called with one input.
Syntax
UNBURY procedureName
UNBURY [procedureName procedureName ...]
UNBURY contents-list
(UNBURY procedureName procedureName ...)
Description
UNBURY returns the object(s) specified by its input to the general Logo workspace. UNBURY operates on procedures, names, and/or property lists previously buried with the BURY, BURYNAME, BURYPROC or BURYPROP commands. See also BURIEDNAMES, BURIEDPROCS, BURIEDPROPS, UNBURYALL, UNBURYNAME, UNBURYPROC, and UNBURYPROP.
Built-in commands cannot be unburied.
Examples
MAKE “B 456 PON “B B is 456 BURY NAMELIST “B PON “B UNBURY NAMELIST “B PON “B B is 456
UNBURYALL
Makes all names and procedures visible; no inputs.
Syntax
UNBURYALL
Description
UNBURYALL makes all names and procedures visible. UNBURYALL is an abbreviation for UNBURY BURIED.
UNBURYNAME
Makes one or more names visible; one input.
Syntax
UNBURYNAME name-or-list
Description
UNBURYNAME makes either a single name or a list of names visible. UNBURYNAME is an abbreviation for UNBURY NAMELIST name-or-list.
UNBURYNAMES
Makes all names visible; no inputs.
Syntax
UNBURYNAMES
Description
UNBURYNAMES makes all names visible. UNBURYNAME is an abbreviation for UNBURY NAMELIST BURIEDNAMES.
UNBURYPROC
Makes one or more procedures visible; one input.
Syntax
UNBURYPROC name-or-list
Description
UNBURYPROC makes either a single procedure or a list of procedures visible. UNBURYPROC is an abbreviation for UNBURY PROCLIST name.
UNBURYPROCS
Makes all procedures visible; no inputs.
Syntax
UNBURYPROCS
Description
UNBURYPROCS makes all procedures visible. UNBURYPROCS is an abbreviation for UNBURY BURIEDPROCS.
UNBURYPROP
Makes one or more property lists visible; one input.
Syntax
UNBURYPROP name-or-list
Description
UNBURYPROP makes either a single property list or a list of property lists visible. UNBURYPROP is synonymous to UNBURY PLLIST name-or-list.
UNBURYPROPS
Makes all property lists visible; no inputs.
Syntax
UNBURYPROPS
Description
UNBURYPROPS makes all property lists visible. UNBURYPROPS is an abbreviation for UNBURY NAMELIST BURIEDPROPS.