Copyright (C) 2000-2012 |
GNU Info (librep.info)Creating SymbolsCreating Symbols ---------------- It is possible to allocate symbols dynamically, this is normally only necessary when the symbol is to be interned in a non-default obarray or the symbol is a temporary object which should not be interned (for example: labels in a compiler). - Function: make-symbol print-name This function creates and returns a new, uninterned, symbol whose print name is the string PRINT-NAME. Its value cell is void (undefined) and it will have an empty property list. (make-symbol "foo") => foo - Function: gensym This function returns a new, uninterned, symbol that has a unique print name. (gensym) => G0001 (gensym) => G0002 automatically generated by info2www version 1.2.2.9 |