next | previous | forward | backward | up | top | index | toc | directory | Macaulay 2 web site

listUserSymbols -- display the user's symbols

Description

Synopsis

  • Usage:
    listUserSymbols
  • Outputs:
    • a display of the variables defined by the user, along with their types and values, in abbreviated form
i1 : t=3;
i2 : R=QQ[x];
i3 : listUserSymbols

o3 = symbol   class             value location of symbol
     ------   -----             ----- ------------------           
     t      : ZZ             -- 3     ../../m2/setup.m2:42:68-42:68
     x      : R              -- x     ../../m2/setup.m2:43:54-43:54
     R      : PolynomialRing -- R     ../../m2/setup.m2:47:54-47:54

Synopsis

  • Usage:
    listUserSymbols X
  • Inputs:
  • Outputs:
    • a display of the variables of type X defined 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     ../../m2/setup.m2:42:68-42:68

See also

For the programmer

The object listUserSymbols is a command.