idlastro / Database Procedures: DBEXT

[Source code]

NAME
DBEXT
PURPOSE
Extract values of up to 12 items from an IDL database 
EXPLANATION
Procedure to extract values of up to 12 items from
data base file, and place into IDL variables
CALLING SEQUENCE
dbext,list,items,v1,[v2,v3,v4,v5,v6,v7,v8,v9,v10,v11,v12]
INPUTS
list - list of entry numbers to be printed, vector or scalar
        If list = -1, then all entries will be extracted.
        list may be converted to a vector by DBEXT 
items - standard item list specification.  See DBPRINT for 
        the 6 different ways that items may be specified. 
OUTPUTS
v1...v12 - the vectors of values for up to 12 items.
EXAMPLE
Extract all RA and DEC values from the currently opened database, and
place into the IDL vectors, IDLRA and IDLDEC.
        IDL> DBEXT,-1,'RA,DEC',idlra,idldec
HISTORY
version 2  D. Lindler  NOV. 1987
check for INDEXED items   W. Landsman   Feb. 1989
Converted to IDL V5.0   W. Landsman   September 1997
Avoid EXECUTE() call for V6.1 or later  W. Landsman   December 2006
Assume since V6.1   W. Landsman June 2009