Macaulay2 » Documentation
Packages » Normaliz :: rmNmzFiles
next | previous | forward | backward | up | index | toc

rmNmzFiles -- removes the files created by Normaliz

Synopsis

Description

This function removes the files created for and by Normaliz, using the last filename created. These files are removed automatically unless a (non-empty) filename has been specified in the global variable nmzFilename. In this case the filename is reset to the empty string.
i1 : nmzFilename="VeryInteresting";
i2 : R=ZZ/37[x,y,z];
i3 : normalToricRing {x^2*y, y^3};
i4 : get ("VeryInteresting.cst")

o4 = 2
     3
     -1 2 0 
     1 0 0 
     inequalities
     1
     3
     0 0 1 
     equations
     1
     4
     5 2 0 6 
     congruences
     1
     3
     1 1 0 
     grading
i5 : rmNmzFiles();
i6 : nmzFilename

o6 = 

For the programmer

The object rmNmzFiles is a function closure.