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 Professional Discussion / i type too fast! How do you use entry$()

Author
Message
Terabyte
22
Years of Service
User Offline
Joined: 28th Dec 2002
Location: UK
Posted: 23rd Jan 2003 16:51
the problem is i type too fast for my game how do i use entry$ in this source code?
do
a$=inkey$()
if a$"" and upDown=0
text$=text$+a$
updown=1
endif
if a$="" and upDown=1 then upDown=0
set cursor 0,0
print text$
sync
loop
I have a word of advice...
..don't piss on an electric fence!
jasuk70
22
Years of Service
User Offline
Joined: 3rd Dec 2002
Location: Hemel Hempstead
Posted: 23rd Jan 2003 16:55
Here is the code from my input routine which you may find helpful that shows using entry$

Terabyte
22
Years of Service
User Offline
Joined: 28th Dec 2002
Location: UK
Posted: 23rd Jan 2003 16:58
thanks i'll try that

I have a word of advice...
..don't piss on an electric fence!
Terabyte
22
Years of Service
User Offline
Joined: 28th Dec 2002
Location: UK
Posted: 23rd Jan 2003 17:36
thanks for the immediate response!!

I have a word of advice...
..don't piss on an electric fence!

Login to post a reply

Server time is: 2025-05-17 13:16:24
Your offset time is: 2025-05-17 13:16:24