TIP: Click on subject to list as thread! ANSI
echo: pascal
to: ALL
from: `Leonard Erickson`
date: 1999-03-11 00:00:00
subject: set line limit

 -=> Quoting Nick Tolstikov to All <=-

 NT> Greetings, All!

 NT> How can i limit the line of user entering while standart readln
 NT> procedure runing? For example, i can see at the screen and enter only
 NT> x symbols.  

You *can't*.

You'll have to write your own input function that checks for
keypresses, processes them (including things like backspace, delete,
and maybe even arrow keys), and keeps track of what's been entered and
updates the display as needed.

/======================================================================
| Orange County Usenet  Fidonet gateway                              
|                                                                      
| User email address:   Leonard.Erickson.noemail@webworldinc.com                                             
| FTN email: Leonard Erickson[RemoveThis]@f51.n105.z1.fidonet.org
| User FidoNet address: 1:105/51                                             
| Report abuse of this service to joejared@webworldinc.com

SOURCE: alt.fidonet via archive.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.