Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » system facilities » quit
next | previous | forward | backward | up | index | toc

# quit -- quit the program

## Description

quit -- terminates the program and returns 0 as return code.

Files are flushed and closed. Another way to exit is to type the end of file character, which is typically set to Control-D in unix systems, and is Control-Z under MS-DOS.

## See also

- exit -- exit the program

## For the programmer

The object quit is a command.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Macaulay2Doc/ov_system.m2:843:0.