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:11-8:13: --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:6-7:7
b : Nothing -- null /usr/share/Macaulay2/Macaulay2Doc/demo1.m2:8:6-8:7
x : ZZ -- 0 /usr/share/Macaulay2/Macaulay2Doc/demo1.m2:6:6-6:7
f : FunctionClosure -- ... /usr/share/Macaulay2/Macaulay2Doc/demo1.m2:6:1-6:2
|