idlastro / Database Procedures: DBVAL

[Source code]

NAME
DBVAL
PURPOSE
procedure to extract value(s) of the specified item from
a data base file entry.
CALLING SEQUENCE
result = dbval( entry, item )
INPUTS
entry - byte array containing the entry, or a scalar entry number
item - name (string) or number (integer) of the item
OUTPUT
the value(s) will be returned as the function value
EXAMPLE
Extract a flux vector from entry 28 of the database FARUV
==> flux = dbval(28,'FLUX')
HISTORY
version 2  D. Lindler Nov, 1987      (new db format)
     Converted to IDL V5.0   W. Landsman   September 1997