Sophie

Sophie

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

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>dismiss -- dismiss a package</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="___Divide.html">next</a> | <a href="_disassemble.html">previous</a> | <a href="___Divide.html">forward</a> | <a href="_disassemble.html">backward</a> | up | <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>
<hr/>
<div><h1>dismiss -- dismiss a package</h1>
<div class="single"><h2>Synopsis</h2>
<ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>dismiss PKG</tt></div>
</dd></dl>
</div>
</li>
<li><div class="single">Inputs:<ul><li><span><tt>PKG</tt>, <span>a <a href="___Package.html">package</a></span></span></li>
</ul>
</div>
</li>
<li><div class="single">Consequences:<ul><li>the dictionary of the package <tt>PKG</tt> is removed from <a href="_dictionary__Path.html" title="">dictionaryPath</a>, so the symbols exported by <tt>PKG</tt> are no longer available for use</li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div><p>The package itself is still accessible under its name in the <a href="___Package__Dictionary.html" title="the dictionary for names of packages">PackageDictionary</a>, and its exported symbols can be made available again with <a href="_use.html" title="install or activate object">use</a>.</p>
<table class="examples"><tr><td><pre>i1 : newPackage "PKG"

o1 = PKG

o1 : Package</pre>
</td></tr>
<tr><td><pre>i2 : export x1

o2 = {x1}

o2 : List</pre>
</td></tr>
<tr><td><pre>i3 : x1=3

o3 = 3</pre>
</td></tr>
<tr><td><pre>i4 : endPackage "PKG"

o4 = PKG

o4 : Package</pre>
</td></tr>
<tr><td><pre>i5 : dictionaryPath

o5 = {PKG.Dictionary, SimpleDoc.Dictionary, Elimination.Dictionary,
     ------------------------------------------------------------------------
     LLLBases.Dictionary, IntegralClosure.Dictionary,
     ------------------------------------------------------------------------
     PrimaryDecomposition.Dictionary, Classic.Dictionary,
     ------------------------------------------------------------------------
     SchurRings.Dictionary, TangentCone.Dictionary, ReesAlgebra.Dictionary,
     ------------------------------------------------------------------------
     ConwayPolynomials.Dictionary, User#"private dictionary",
     ------------------------------------------------------------------------
     Core.Dictionary, OutputDictionary, PackageDictionary}

o5 : List</pre>
</td></tr>
<tr><td><pre>i6 : x1

o6 = 3</pre>
</td></tr>
<tr><td><pre>i7 : dismiss PKG

o7 = PKG

o7 : Package</pre>
</td></tr>
<tr><td><pre>i8 : dictionaryPath

o8 = {SimpleDoc.Dictionary, Elimination.Dictionary, LLLBases.Dictionary,
     ------------------------------------------------------------------------
     IntegralClosure.Dictionary, PrimaryDecomposition.Dictionary,
     ------------------------------------------------------------------------
     Classic.Dictionary, SchurRings.Dictionary, TangentCone.Dictionary,
     ------------------------------------------------------------------------
     ReesAlgebra.Dictionary, ConwayPolynomials.Dictionary, User#"private
     ------------------------------------------------------------------------
     dictionary", Core.Dictionary, OutputDictionary, PackageDictionary}

o8 : List</pre>
</td></tr>
<tr><td><pre>i9 : x1

o9 = x1

o9 : Symbol</pre>
</td></tr>
<tr><td><pre>i10 : values PackageDictionary

o10 = {PrimaryDecomposition, SimpleDoc, PrimaryDecomposition, SimpleDoc,
      -----------------------------------------------------------------------
      Text, Text, IntegralClosure, Parsing, IntegralClosure,
      -----------------------------------------------------------------------
      ConwayPolynomials, Parsing, ConwayPolynomials, LLLBases, LLLBases,
      -----------------------------------------------------------------------
      Elimination, ReesAlgebra, Elimination, TangentCone, ReesAlgebra,
      -----------------------------------------------------------------------
      TangentCone, User, PKG, SchurRings, PKG, SchurRings, Classic, Classic,
      -----------------------------------------------------------------------
      Core, Core}

o10 : List</pre>
</td></tr>
<tr><td><pre>i11 : use PKG</pre>
</td></tr>
<tr><td><pre>i12 : x1

o12 = 3</pre>
</td></tr>
</table>
</div>
</div>
<div class="single"><h2>See also</h2>
<ul><li><span><a href="_dictionary__Path.html" title="">dictionaryPath</a></span></li>
<li><span><a href="___Package__Dictionary.html" title="the dictionary for names of packages">PackageDictionary</a> -- the dictionary for names of packages</span></li>
<li><span><a href="_use.html" title="install or activate object">use</a> -- install or activate object</span></li>
</ul>
</div>
<div class="waystouse"><h2>Ways to use <tt>dismiss</tt> :</h2>
<ul><li>dismiss(Package)</li>
<li>dismiss(String)</li>
</ul>
</div>
</div>
</body>
</html>