>  Docs Center  >  Libraries  >  ASTROLIB  >  QGET_STRING
Libraries

QGET_STRING

QGET_STRING

Name


    QGET_STRING

Purpose


    To get a string from the keyboard without echoing it to the screen.

Calling Sequence


    string = QGET_STRING()

Inputs


    None.

Outputs


    string The string read from the keyboard.

Side Effects


    A string variable is created and filled.

Procedure


    The IDL GET_KBRD functions is used to get each character in
    the string. Each character is added to the string until a
    carriage return is struck. The carriage return is not appended
    to the string. Striking the delete key or the backspace key
    removes the previous character from the string.

Notes


    For a widget password procedure see
    http://idlcoyote.com/tip_examples/password.pro

Modification History


    Written by Michael R. Greason, STX, 8 January 1991.
    Work for Mac and Windows IDL W. Landsman September 1995



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us