if I set the password flag the InKeyStr() function returns asterisks instead of the typed string.
Seems to work right here. Hollywood7.1 and Windows.
First it shows typed letters, second try it shows asterisk.
Only the echo to the console is supposed to be asterisks. The variable assignment is supposed to be unaffected.
ah, i see. That happens here too that the variable assignment is asterisks as well.
Oops, will be fixed. Thanks for reporting!
Another problem I've noted with InKeyStr is that if an empty string is entered, it will reset the print statement to the upper left of the screen and overwrite existing text.
True, I'll fix this. Thanks for reporting!