Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

*print-case*

*print-case*

type: system variable 
location: built-in
source file: xlprin.c
Common LISP compatible: similar
supported on: all machines

SYNTAX

*print-case*

DESCRIPTION

*PRINT-CASE* is a system variable that allows a user to specify how symbols are to be printed by XLISP. If *PRINT-CASE* is set to :DOWNCASE, all symbols will be printed in lower case characters. If *PRINT-CASE* is set to :UPCASE, all symbols will be printed in upper case characters. If *PRINT-CASE* is set to anything other than :UPCASE or :DOWNCASE, all symbols will be printed in upper case characters. The default value for *PRINT-CASE* is the keyword :UPCASE.

EXAMPLES

(setq *print-case* :downcase)           ; returns :downcase
(setq a 'b)                             ; returns b
                                        ;
(setq *print-case* 'foo)                ; returns FOO
(setq a 'b)                             ; returns B
                                        ;
(setq *print-case* :upcase)             ; returns :UPCASE
(setq a 'b)                             ; returns B

COMMON LISP COMPATIBILITY: Common LISP supports a third keyword :CAPITALIZE. XLISP does not support this, but this should not be a major problem. If set to :CAPITALIZE, XLISP will print all symbols in upper-case characters.


Go to the first, previous, next, last section, table of contents.