The PREFS object contains a list of system-wide properties that control the look and feel
of Logo. If you
SAVE your workspace, the current settings are stored in the saved file. If you load a workspace that has been saved before, the settings are restored.
Contains the name of your Logo app.
APPNAME contains the name of your Logo app if Logo runs in app mode. If Logo does not run in app mode, APPNAME outputs an empty word.
Controls the lowest array or grid index.
The ARRAYBASE property controls the lowest value that you can use as an array or grid index. You may want to set the value to 1 if you prefer to index arrays and grids with a starting value of 1; actually, any starting value is legal as long as you are comfortable with that value.
Controls the amount of data that Logo saves and restores automatically.
Logo can be configured to save your workspace, your turtles and everything else in frequent intervals. The AUTOSAVE property can be set to one of four values to tell Logo what to save:
OFF: Nothing will be saved.
WORKSPACE: Logo saves all procedures, names and property lists. This is the default.
TURTLES: As with
WORKSPACE, plus all turtles and the contents of the Graphics panel.
ALL: As with
TURTLES, plus the Listener, all controls and bitmaps, and all global built-in names.
In the Web version, you can also set the AUTOSAVE property with an addition of an “autosave” argument to the link, as in this example:
This is especially handy for classroom computers where you have a link for students to click.
If Logo is running a Logo app, the setting of this property is ignored. A Logo app never saves any autosave data.
Controls the conversion of input to upper case.
CASE controls the way quoted words are converted to upper case. If
CASE is TRUE, which is the default, Logo converts lowercase quoted words to upper case as they are input to Logo. If
CASE is set to FALSE, the case of quoted words is not changed.
Note that quoted words enclosed in vertical bars, or back-quoted words are not affected.
Displays turtle shadows with their pen color.
When turtle shadows are turned on, a turtle casts a grayish shadow. Setting the COLORED.SHADOWS property to TRUE causes turtles to display their shadows in the currently selected pen color.
Controls the Listener font.
The FONT property gets or sets the font that the Listener panel uses for output. For the font format, please see the
Controls the font used when creating a control.
The CONTROLS.FONT property gets or sets the font that Logo uses when creating a control. Set this property before creating a control so Logo can pick it up. For the font format, please see the
Controls the font used when creating a control.
The TURTLE.FONT property gets or sets the font that turtles use when drawing text. For the font format, please see the
Controls the maximum number of lines in the Listener panel.
LISTENER.LINES controls the number of lines that the Listener panel's output field will display. If Logo displays more than the given value, the oldest lines will be lost.
Controls whether all output in the Listener panel is readonly.
LISTENER.READONLY controls whether all output in the Listener panel is read only or not. If output is read only, it cannot be erased; only user input can be edited or erased. Since this is a good setting for students, the property is set to TRUE for all classroom logins with a student password.
Alters Logo's language.
This property contains the current language that Logo uses to talk to you as a three or five-letter ISO code. The actual setting depends on your browser and system settings. For U.S. computers, the value is, for example,
EN. Logo speaks a few different languages; you can see if Logo speaks a specific language by setting the appropriate language code. If Logo does not speak that language, it falls back to U.S. English.
Please note that currently only messages are changed. We are working on providing translations for all of Logo including dialogs, menus, and more.
Controls the file extension used for images if none was supplied.
This is the default file extension for graphics images. Logo uses this extension if you access an image file without a specific extension.
Controls the number of decimals that Logo prints.
PRECISION controls the number of decimal points that Logo outputs when printing a number. The value can be anything between 0 and 15; the value -1 instructs Logo to always print an appropriate number of decimals depending on the value.
Relaxes the syntax requirements of Logo.
If set to TRUE, you do not need to use the colon to read the value of a name (as in
:VALUE). Logo first checks if a name is a procedure; if not, and
RELAXED.SYNTAX is set to true, Logo checks if a name has a value.
Controls the maximum number of nested procedure calls.
STACKSIZE controls the maximum number of nested procedure calls. If an executing Logo program calls more than this number of nested procedures, the program terminates with a runtime error.
Controls the tab stop size used in the Listener's output field.
TAB controls the tab stop size used in the Listener's output field. This is the approximate number of spaces that Logo would use when printing the Tab character (which is
CHAR 9); see also the
Reports the user's name.
This is the name that your Logo licenses is registered under; if you use the trial version of Logo, the user name is “Guest User”.
GPROP "PREFS "USERNAME Result: Guest User
This variable contains a property list of global program and system settings. All of its properties are read-only.
Reports the browser name.
BROWSER contains the name of the browser that Logo is executing in. For the desktop version, BROWSER reports the word
Reports the device that Logo is executing upon.
ENVIRONMENT contains a word describing the browser environment; currently one of
Controls whether to have Terrapin Logo occupy the entire screen or display in normal size.
FULLSCREEN sets Terrapin Logo to fullscreen if its value is set to TRUE, or to normal size if its value is set to FALSE. It reports the current fullscreen setting.
Not all browsers allow a program to occupy the entire screen. In that case, setting the FULLSCREEN property to TRUE does not have any effect.
Reports the size of the browser window (Web) or the desktop (Desktop version).
SCREENSIZE reports the size of the browser window (Web) or the desktop (Desktop version) in pixels.
Reports the Logo version number.
VERSION reports the Logo version number as a numeric value.
GPROP "LOGO.ENV "VERSION Result: 5