Terminates a program.
// Turn on auxiliary output output on; // Turn off screen screen off; // Print x print x; // End program end;
In this example, a matrix x is printed to the auxiliary output. The output to the window is turned off to speed up the printing. The end statement is used to terminate the program, so the output file will be closed and the window turned back on.
The end statement causes GAUSS to revert to interactive mode, and closes all open files. The end statement also closes the auxiliary output file and sets screen command to on. It is not necessary to put an end statement at the end of a program.