[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Waldhäuser Str. 64, D-72076 Tübingen, Germany
[Uni logo]


SELECT_O Source code in select_o.pro

SELECT_O

Name
       SELECT_O
Purpose
       Dumb-terminal routine to let a user interactively select from a list
Explanation
       This is the non-widget version of SCREEN_SELECT
Calling Sequence
       select_o, selections, iselected, comments, command_line, only_one, $
                            [ COUNT = ]
Input Parameters
       selections - string array giving list of items that can be
               selected.
Optional Input Parameters
       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.
Output Parameters
       iselected - list of indices in selections giving the selected
               items.
Optional Keyword Output
       COUNT - Integer scalar giving the number of selections
Side Effects
       The obsolete system variable !err is set to the number of selections
Revision History
       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

Last modified by pro2html on 2001 April 26 at 03:14 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically