:     .   :    0,    -


10 if inkey(48) then print "works"


 ,       .   ?


:
if inkey(0) = 48 then print "works"


Inkey(0) - ,     .