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 / Possible to somehow limit text in input command?

Author
Message
stjerna
17
Years of Service
User Offline
Joined: 19th Oct 2007
Location: Norway
Posted: 17th May 2008 14:14 Edited at: 17th May 2008 22:14
Hello

Is it possible to limit the max text typed and displayed by the input command? like max 15 char, otherwise it wont display.



This is how each command will look like, but say if you spam the input and write 20 chars it will only display 15 first of what you wrote.

Thanks for your time
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 18th May 2008 06:24
You'll probably need to make your own input function. Thankfully, that's a pretty easy thing to do. Look into the ENTRY$() and CLEAR ENTRY BUFFER commands.

Unterseeboot - Has you played it?
Los Mineros are on leave...

Login to post a reply

Server time is: 2024-11-25 23:46:06
Your offset time is: 2024-11-25 23:46:06