GLBasic User Manual

Main sections

GLB_ON_QUIT

This subroutine (and which needs to be defined using the SUB command), is called when a program exits

SUB GLB_ON_QUIT
// Clear any memory here
ENDSUB


No calls to any graphic or sound commands should be made.

See also...