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.

Newcomers DBPro Corner / Another key input problem.

Author
Message
SpeaK
21
Years of Service
User Offline
Joined: 28th Feb 2003
Location: Finland
Posted: 5th Mar 2003 21:08
A have a problem with key input. (as u can see in the topic

do
if upkey()=1 then print "COOOOL"
loop

i want that when i just click upkey then it prints cooool.
So what i dont want that when the upkey is pressed it prints cooool. How can it be done. I've searched everywhere in the forums and found nothing... THANX
Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 5th Mar 2003 21:57
do
if upkey()=1 and upkeyflag=0 then print "COOOOL":upkeyflag=1
if upkey()=0 then upkeyflag=0
loop
SpeaK
21
Years of Service
User Offline
Joined: 28th Feb 2003
Location: Finland
Posted: 6th Mar 2003 20:45
gonna try that. thanx. i think it works. COOOOL!

Login to post a reply

Server time is: 2024-09-19 22:37:54
Your offset time is: 2024-09-19 22:37:54