STK symbol syntax has been augmented to allow case significant symbols.
This extension is discussed in
.
The following symbols are defined in the global environment.
- *debug*ndexfile(index-entry "*debug*" "tt" aux ). Setting
*debug* to #t prevents macro inlining and
expression recoding (see
).
- *gc-verbose*ndexfile(index-entry "*gc-verbose*" "tt" aux ). If
*gc-verbose* is #t, a message will be printed before
and after each run of garbage collector. The message is printed on the
standard error stream.
- *load-verbose*ndexfile(index-entry "*load-verbose*" "tt" aux ). If
*load-verbose* is #t, the absolute path name of
each loaded file is printed before its effective reading. File names
are printed on the standard error stream.
- *load-path*ndexfile(index-entry "*load-path*" "tt" aux ) must
contain a list of strings. Each string is taken as a directory
path name in which a file will be searched for loading. This
variable can be set automatically from the STK_LOAD_PATH
shell variable. See stk(1) for more details.
- *load-suffixes*ndexfile(index-entry "*load-suffixes*" "tt" aux )
must contain a list of strings. When the system try to load a
file in a given directory (according to *load-path*
value), it will first try to load it without suffix. If this
file does not exist, the system will sequentially try to find the file by
appending each suffix of this list. A typical value for this
variable may be ("stk" "stklos" "scm" "so").
- *help-path*ndexfile(index-entry "help,
getting" "tt" aux )ndexfile(index-entry "*help-path*" "tt" aux ) must contain a list of
strings. Each string is taken as a directory path name in which
documentation files are searched. This variable can be set
automatically from the STK_HELP_PATH shell variable. See
stk(1) for more details.
- *argc*ndexfile(index-entry "*argc*" "tt" aux ) contains the
number of arguments (0 if none), not including interpreter
options. See stk(1) for more details.
- *argv*ndexfile(index-entry "*argv*" "tt" aux ) contains a Scheme
list whose elements are the arguments (not including the interpreter
options), in order, or an empty list if there are no arguments.
See stk(1) for more details.
- *program-name*ndexfile(index-entry "*program-name*" "tt" aux ) contains
the file name specified with the -file option, if present.
Otherwise, it contains the name through which the interpreter was invoked.
See stk(1) for more details.
- *print-banner*ndexfile(index-entry "*print-banner*" "tt" aux ). If
*print-verbose* is #f, the usual copyright
message is not displayed when the interpreter is started.
- *root*ndexfile(index-entry "*root*" "tt" aux ) designates the Tk main
window (see A-
). This variable is not set if
the Tk toolkit is not initialized.