How do you cancel an EVENT_APPTERMINATE

BlitzMax Forums/BlitzMax Programming/How do you cancel an EVENT_APPTERMINATE

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I hope I have understand you right.

Graphics 800,600,0,-1

Repeat 

If AppTerminate() = True Or KeyHit(Key_Escape) = True Then
	Local Term:Byte = Confirm("Really Quit ?")
	If Term = True Then 
		End
	EndIf
EndIf

DrawText "This is a Test",20,20

Flip
Cls

Forever