print-array

Generic Function

Package: common-graphics

Arguments: configuration

Configurations contain information about the Lisp environment. The current configuration is the value of (configuration *system*). Among the information stored is the desired value for many standard global variables. These globals are set to these values when the system is initialized. Changing a value in the configuration changes the current value of the global. Accessors are typically named with a symbol named the same as the global variable but without the surrounding stars (if any).

This function accesses the value of the print-array property, which corresponds to the *print-array* global variable. This variable controls the appearance of the printed representation of arrays, as the following shows:

> (let ((a (make-array 5 :initial-element t))
        (*print-array* nil))
     (print a)
     (setq *print-array* t)
     (print a))

#<Vector @ #x20c23cda> ;; *print-array* nil
#(t t t t t)           ;; *print-array* t
#(t t t t t) ;; value returned by PRINT, printed
             ;; with *print-array* t.
> *print-array*
t
> 

print-array is a property of the configuration class.

You can examine and change configuration options with the inspector. Choose Tools | Inspect System Data | Configuration Options.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.