Macaulay2 » Documentation
Packages » Macaulay2Doc :: listSymbols
next | previous | forward | backward | up | index | toc

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           currentString:1:0-1:1
     y       String  "hi there"  currentString:1:6-1:7
i6 : listSymbols first localDictionaries()

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

Ways to use listSymbols :

For the programmer

The object listSymbols is a method function.