<?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>top level loop</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_alarm.html">next</a> | <a href="_add__End__Function.html">previous</a> | <a href="_alarm.html">forward</a> | <a href="_add__End__Function.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="_top_splevel_sploop.html" title="">top level loop</a></div> <hr/> <div><h1>top level loop</h1> <div>The top level evaluation loop of the interpreter contains hooks so the user can control how printing of the results of evaluation is done. If the result is <a href="_null.html" title="the unique member of the empty class">null</a> then nothing is printed. Otherwise, the appropriate method associated with the symbol <a href="___Print.html" title="top level method for printing results">Print</a> is applied to perform the printing, unless the printing is to be suppressed, as indicated by a semicolon at the end of the statement, in which case the <a href="___No__Print.html" title="top level method for non-printing results">NoPrint</a> method is applied.<ul><li><span><a href="___After__Eval.html" title="top level method applied after evaluation">AfterEval</a> -- top level method applied after evaluation</span></li> <li><span><a href="___After__Print.html" title="top level method applied after printing">AfterPrint</a> -- top level method applied after printing</span></li> <li><span><a href="___After__No__Print.html" title="top level method applied after not printing">AfterNoPrint</a> -- top level method applied after not printing</span></li> <li><span><a href="___No__Print.html" title="top level method for non-printing results">NoPrint</a> -- top level method for non-printing results</span></li> <li><span><a href="___Print.html" title="top level method for printing results">Print</a> -- top level method for printing results</span></li> </ul> </div> </div> </body> </html>