<?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>needs -- read Macaulay2 commands if necessary</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_clear__Echo.html">next</a> | <a href="_load.html">previous</a> | <a href="_clear__Echo.html">forward</a> | <a href="_load.html">backward</a> | <a href="_system_spfacilities.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="_system_spfacilities.html" title="">system facilities</a> > <a href="_needs.html" title="read Macaulay2 commands if necessary">needs</a></div> <hr/> <div><h1>needs -- read Macaulay2 commands if necessary</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>needs "f"</tt></div> </dd></dl> </div> </li> <li><div class="single">Consequences:<ul><li>The file named <tt>f</tt> is loaded with <a href="_load.html" title="read Macaulay2 commands">load</a> if it hasn't been loaded yet; if it has changed since the last time it was loaded, it will be loaded again, from the same location as the time before, without searching along the <a href="_path.html" title="list of directories to look in">path</a>.</li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><p>If the variable <a href="_notify.html" title="whether to notify the user when a file is loaded">notify</a> is set to true, then an informational message is displayed after the file is loaded.</p> </div> </div> </div> </body> </html>