DarkBASIC Professional Help Wiki
Advertisement


This command will deactivate the escape key.

Syntax
DISABLE ESCAPEKEY
Returns

This command does not return a value.

Description

Be aware that this command will prevent breaking back into your program without a suitable exit condition.

Example Code
cls

disable escapekey

print "ESCAPE No Longer Quits - Press Any Key"

wait key

enable escapekey

do

loop

end
Advertisement