>  Docs Center  >  Libraries  >  ASTROLIB  >  DB_ITEM_INFO
Libraries

DB_ITEM_INFO

DB_ITEM_INFO

Name


DB_ITEM_INFO

Purpose


routine to return information on selected item(s) in the opened
data bases.

Calling Sequence


result = db_item_info( request, itnums)

Inputs


request - string giving the requested information.
'name' - item names
'idltype' - IDL data type (integers)
see documentation of intrinsic SIZE funtion
'nvalues' - vector item length (1 for scalar)
'sbyte' - starting byte in .dbf record (use bytepos
to get starting byte in record returned by
dbrd)
'nbytes' - bytes per data value
'index' - index types
'description' - description of the item
'pflag' - pointer item flags
'pointer' - data bases the items point to
'format' - print formats
'flen' - print field length
'headers' - print headers
'bytepos' - starting byte in dbrd record for the items
'dbnumber' - number of the opened data base
'pnumber' - number of db it points to (if the db is
opened)
'itemnumber' - item number in the file
itnums -(optional) Item numbers. If not supplied info on all items
are returned.

Output


Requested information is returned as a vector. Its type depends
on the item requested.

History


version 1 D. Lindler Nov. 1987
Converted to IDL V5.0 W. Landsman September 1997
      Support new DB format which allows > 32767 bytes W.L. Oct 2010



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