SPACEKEY

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

  Syntax
Return Integer=SPACEKEY()
  Returns

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

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

INPUT Commands Menu
Index