next | previous | forward | backward | up | top | index | toc | Macaulay2 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     /builddir/build/BUILD/Macaulay2-1.3.1-r10737/Macaulay2/m2/setup.m2:42:68-42:68
     x      : R              -- x     /builddir/build/BUILD/Macaulay2-1.3.1-r10737/Macaulay2/m2/setup.m2:43:54-43:54
     R      : PolynomialRing -- R     /builddir/build/BUILD/Macaulay2-1.3.1-r10737/Macaulay2/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
     ------   -----    -----
     t      : ZZ    -- 3    
     ------------------------------------------------------------------------
     location of symbol
     ------------------                                                      
     /builddir/build/BUILD/Macaulay2-1.3.1-r10737/Macaulay2/m2/setup.m2:42:68
     ------------------------------------------------------------------------
           
     -42:68

See also

For the programmer

The object listUserSymbols is a command.