![]() |
Institut für Astronomie und AstrophysikAbteilung AstronomieWaldhäuser Str. 64, D-72076 Tübingen, Germany |
![]() |
SELECT_O
Dumb-terminal routine to let a user interactively select from a list
This is the non-widget version of SCREEN_SELECT
select_o, selections, iselected, comments, command_line, only_one, $
[ COUNT = ]
selections - string array giving list of items that can be
selected.
comments - comments which can be requested for each item in
array selections. It can be:
string array - same length as array selections.
null string - no comments available
scalar string - name of a procedure which will
return comments. It will take selections
as its first argument and return comments
as its second argument.
command_line - optional command line to be placed at the bottom
of the screen. It is usually used to specify what the
user is selecting.
only_one - integer flag. If set to 1 then the user can only select
one item. The routine returns immediately after the first
selection is made.
iselected - list of indices in selections giving the selected
items.
COUNT - Integer scalar giving the number of selections
The obsolete system variable !err is set to the number of selections
version 1, D. Lindler April 88.
modified to IDL V2 (from screen_select). M. Greason, May 1990.
changed name from screen_select_o W. Landsman January 1993
Converted to IDL V5.0 W. Landsman September 1997
Added COUNT keyword, deprecate !ERR W. Landsman March 2000
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]