phase

phase -- an internal variable indicating which phase of compilation we are in.

The value 0 indicates that we are running as an interpreter, as usual. The value 1 indicates that we are loading setup.m2 and will dump data afterward. The value 2 indicates that we are loading setup.m2, creating a preliminary version of the help file whose name is Macaulay2.pre, and creating example input files. The value 3 indicates that we are running an example input file, and referring to Macaulay2.pre. The value 4 indicates that we are loading setup.m2, reading the example output files, and creating the final version of the help file, called Macaulay2-doc. The value 5 indicates that we are running the interpreter as usual, but reading the example output files when document is used.


topindexpreviousupnext