Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / sorry for the double post- keyboard problem

Author
Message
adam62385
21
Years of Service
User Offline
Joined: 14th Apr 2004
Location:
Posted: 24th Apr 2004 19:47
I use db classic, and I'm trying to get a message to print to the screen once the "1" key is pressed. Help is greatly appreciated.
Tim Ballisto
21
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Right behind you.
Posted: 24th Apr 2004 20:08
if keystate(2)=1 and keyflag=0
print "something"
keyflag=1
endif
if keystate(2)=0 then keyflag=0


Programs for programmers.

Login to post a reply

Server time is: 2025-05-23 14:51:08
Your offset time is: 2025-05-23 14:51:08