print-structure

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-structure property, which corresponds to the *print-structure* global variable. This global variable controls the print representation of structures. A random-state object is a structure. The following shows how this value affects printing of a random-state object (we have deleted values when *print-structure* is true to save space, as indicated by […]):

> (let ((*print-structure* nil))
     (print *random-state*)
     (setq *print-structure* t)
     (print *random-state*)
     nil)

#<random-state @ #x205a7f2a> 
#S(random-state :seed 45915826886865
                :fixseed
                #(301710475 9180431 285773896 […])) 
nil
> 

print-structure 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.