Main sections
GLB_ON_RESUME
This subroutine is called when, if the case of desktop machines, a window is restored and regains focus, or in the case of iPod/iPhone/iPad, the user resumes execution of a running program.
SUB GLB_ON_RESUME
// No graphics activity should be done here
// It is best to set a flag which your main program will detect and which can then resume your program
ENDSUB
Currently only Windows, iPod/iPhone/iPad (with iOS 4) support this subroutine.