UPKEY

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

  Syntax
Return Integer=UPKEY()
  Returns

Will return a one, if the up arrow key is being pressed, otherwise zero is returned

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

INPUT Commands Menu
Index