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.

symbol-name

symbol-name

type: function (subr) 
location: built-in
source file: xlbfun.c
Common LISP compatible: yes
supported on: all machines

SYNTAX

(symbol-name <symbol> )
        <symbol>        -       an expression that evaluates to a symbol name 

DESCRIPTION

The SYMBOL-NAME function takes the <symbol> expression and returns the printable string of the <symbol>. If the <symbol> had not existed, then it will be created and INTERNed into the system symbol table *OBARRAY* - but with it's value unbound and an empty property list.

EXAMPLES

(symbol-name 'foo)                      ; returns "FOO"
(symbol-name 'gleep)                    ; returns "GLEEP"
                                        ;
(setq my-symbol 'flop)                  ; define MY-SYMBOL
(symbol-name my-symbol)                 ; returns "FLOP"


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