next | previous | forward | backward | up | top | index | toc | Macaulay2 web site

listSymbols -- compact display of symbols and their values

Synopsis

Description

i1 : x:=3; y:="hi there"; z:=2^30; f = x->x;
i5 : listSymbols { symbol x, symbol y }

o5 = symbol   class     value      location of symbol
     ------   -----     -----      ------------------
     x      : ZZ     -- 3          stdio:1:1-1:1     
     y      : String -- "hi there" stdio:1:7-1:7     
i6 : listSymbols first localDictionaries()

o6 = symbol   class     value      location of symbol
     ------   -----     -----      ------------------
     x      : ZZ     -- 3          stdio:1:1-1:1     
     y      : String -- "hi there" stdio:1:7-1:7     
     z      : ZZ     -- 1073741824 stdio:1:22-1:22   

Ways to use listSymbols :