CONTROLKEY

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

  Syntax
Return Integer=CONTROLKEY()
  Returns

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

  Example Code
cls
do
cls
if controlkey()=1
print "controlkey has been pressed"
else
print "controlkey has not be pressed "
endif
loop
end
  See also

INPUT Commands Menu
Index