Synopsis
-
- Usage:
listLocalSymbols
-
Outputs:
-
a net, a compact display of the symbols in the local dictionaries attached to current
This usage works only in the debugger, where current has a non-null value.
i7 : load "Macaulay2Doc/demo1.m2"
|
i8 : g 2
/usr/share/Macaulay2/Macaulay2Doc/demo1.m2:8:12:(3):[2]: error: division by zero
/usr/share/Macaulay2/Macaulay2Doc/demo1.m2:8:12:(3):[2]: --entering debugger (type help to see debugger commands)
/usr/share/Macaulay2/Macaulay2Doc/demo1.m2:8:10-8:
12: --source code:
b := 1/x;
|
ii9 : listLocalSymbols
oo9 = symbol class value location of symbol
------ ----- ----- ------------------
a String "hi there" /usr/share/Macaulay2/Macaulay2Doc/demo1.m2:7:5-7:6
b Nothing null /usr/share/Macaulay2/Macaulay2Doc/demo1.m2:8:5-8:6
x ZZ 0 /usr/share/Macaulay2/Macaulay2Doc/demo1.m2:6:5-6:6
f FunctionClosure -*Function[/home/m2user/src/M2/M2.git/M2/Macaulay2/packa. /usr/share/Macaulay2/Macaulay2Doc/demo1.m2:6:0-6:1
|