mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

net/

mg_getpassword.pro

includes main-level program

Routines

top mg_getpassword

result = mg_getpassword( [prompt=string])

Get a password from the command line. Shows asterisks instead of the actual password.

Return value

string

Keywords

prompt in optional type=string

prompt to display before the password is typed

Examples

Try the main-level example program at the end of this file:

IDL> .run mg_getpassword
This does the following:
IDL> password = mg_getpassword(prompt='Password:') Password: ******************* IDL> print, password, format='(%"Password = \"%s\"")' Password = "this is my password"

File attributes

Modification date: Wed May 14 15:07:14 2014
Lines: 18
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.