Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 5320

Macaulay2-1.3.1-8.fc15.i686.rpm

<?xml version="1.0" encoding="utf-8" ?>  <!-- for emacs: -*- coding: utf-8 -*- -->
<!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"	 "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head><title>viewing the symbols defined so far</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="_subscripted_spvariables.html">next</a> | <a href="_local_spvariables_spin_spa_spfile.html">previous</a> | <a href="_subscripted_spvariables.html">forward</a> | <a href="_local_spvariables_spin_spa_spfile.html">backward</a> | <a href="_variables.html">up</a> | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div>

    </td>
  </tr>
</table>
<div><a href="index.html" title="">Macaulay2Doc</a> > <a href="___The_sp__Macaulay2_splanguage.html" title="">The Macaulay2 language</a> > <a href="_variables.html" title="The variables of a complex or co-complex.">variables</a> > <a href="_viewing_spthe_spsymbols_spdefined_spso_spfar.html" title="">viewing the symbols defined so far</a></div>
<hr/>
<div><h1>viewing the symbols defined so far</h1>
<div>After using Macaulay2 for a while, you may have stored data in several variables.  The system also stores output values for you in output variables.  You may wish to free the memory space occupied by that data, or you may simply wish to remind yourself where you stored a previously computed value.<p/>
We may use the command <a href="_list__User__Symbols.html" title="display the user's symbols">listUserSymbols</a> to obtain a list of the user's symbols encountered so far.<table class="examples"><tr><td><pre>i1 : ff = 20:4; h = true; kk

o3 = kk

o3 : Symbol</pre>
</td></tr>
<tr><td><pre>i4 : listUserSymbols

o4 = symbol   class       value                                                   location of symbol
     ------   -----       -----                                                   ------------------                                                            
     h      : Boolean  -- true                                                    /builddir/build/BUILD/Macaulay2-1.3.1-r10737/Macaulay2/m2/setup.m2:40:40-40:40
     ff     : Sequence -- (4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,. stdio:1:1-1:2                                                                 
     kk     : Symbol   -- kk                                                      stdio:1:22-1:23                                                               </pre>
</td></tr>
</table>
The symbols are listed in chronological order, and the type of value stored under it is displayed.<p/>
We can clear the output symbols with <a href="_clear__Output.html" title="forget output values">clearOutput</a>.<table class="examples"><tr><td><pre>i5 : clearOutput</pre>
</td></tr>
<tr><td><pre>i6 : listUserSymbols

o6 = symbol   class       value                                                   location of symbol
     ------   -----       -----                                                   ------------------                                                            
     h      : Boolean  -- true                                                    /builddir/build/BUILD/Macaulay2-1.3.1-r10737/Macaulay2/m2/setup.m2:40:40-40:40
     ff     : Sequence -- (4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,. stdio:1:1-1:2                                                                 
     kk     : Symbol   -- kk                                                      stdio:1:22-1:23                                                               </pre>
</td></tr>
</table>
We can clear all the symbols with <a href="_clear__All.html" title="forget everything">clearAll</a>.<table class="examples"><tr><td><pre>i7 : clearAll</pre>
</td></tr>
<tr><td><pre>i8 : listUserSymbols

o8 = symbol  class  value location of symbol
     ------  -----  ----- ------------------</pre>
</td></tr>
</table>
</div>
</div>
</body>
</html>