[fpc-pascal] Readln a password

geneb geneb at deltasoft.com
Sun Nov 27 22:38:23 CET 2016


On Sun, 27 Nov 2016, Adriaan van Os wrote:

> I wonder what the recommended way is to readln a password from console, as a 
> standard Readln echoes the password.
>
Readln is wholly unsuited to the task.  You're better off writing a 
routine that gets input one character at a time.

g.

-- 
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of its kind.
http://www.diy-cockpits.org/coll - Go Collimated or Go Home.
Some people collect things for a hobby.  Geeks collect hobbies.

ScarletDME - The red hot Data Management Environment
A Multi-Value database for the masses, not the classes.
http://scarlet.deltasoft.com - Get it _today_!



More information about the fpc-pascal mailing list