i wish to write a program like written below
graphics 640,480
setbuffer backbuffer()
while not keyhit(1)
if capslock = ON ; i wont press Caplock to make it ON
text 100,100,"Capslock is ON"
endif
if capslock = OFF ; i wont press capslock to make it OFF
text 100,100,"capslock is OFF"
endif
flip
cls
wend
any help?
graphics 640,480
setbuffer backbuffer()
while not keyhit(1)
if capslock = ON ; i wont press Caplock to make it ON
text 100,100,"Capslock is ON"
endif
if capslock = OFF ; i wont press capslock to make it OFF
text 100,100,"capslock is OFF"
endif
flip
cls
wend
any help?