ESCAPEKEY

This command will return an integer value of one if the escape key is being pressed, otherwise zero is returned.

  Syntax
Return Integer=ESCAPEKEY()
  Returns

A one if the escape key is being pressed, otherwise zero is returned

  Example Code
cls
do
if escapekey()=1
print "key= "+str$(escapekey())
endif
loop
end
  See also

INPUT Commands Menu
Index