This command will return an integer value of one if the down arrow key is being pressed, otherwise zero is returned.
Syntax |
Return Integer=DOWNKEY()
Returns |
A one if the down arrow key is being pressed, otherwise zero is returned
Example Code |
cls do if downkey()=1 print "key= "+str$(downkey()) endif loop end