next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: listUserSymbols

listUserSymbols -- display the user's symbols

Description

Synopsis

  • Usage:
    listUserSymbols
  • Outputs:
    • a display of the symbols defined and given values by the user, along with their types and values, in abbreviated form

A symbol is considered to have been give a value, if it's current value is not equal to itself.

i1 : t=3;
i2 : R=QQ[x];
i3 : listUserSymbols

o3 = symbol   class             value location of symbol
     ------   -----             ----- ------------------   
     R      : PolynomialRing -- R     currentString:2:1-2:2
     t      : ZZ             -- 3     currentString:1:1-1:2
     x      : R              -- x     currentString:2:6-2:7

Synopsis

  • Usage:
    listUserSymbols X
  • Inputs:
  • Outputs:
    • a display of the symbols of type X defined and given values by the user, along with their types and values, in abbreviated form
i4 : listUserSymbols ZZ

o4 = symbol   class    value location of symbol
     ------   -----    ----- ------------------   
     t      : ZZ    -- 3     currentString:1:1-1:2

See also

For the programmer

The object listUserSymbols is a command.