>  Docs Center  >  Libraries  >  ASTROLIB  >  DBPUT
Libraries

DBPUT

DBPUT

Name


DBPUT

Purpose


Procedure to place a new value for a specified item into
a data base file entry.

Calling Sequence


dbput, item, val, entry

Inputs


item - item name or number
val - item value(s)

Input/output


entry - entry (byte array) or scalar entry number.
if entry is a scalar entry number then the data
base file will be updated. Otherwise the change
will be only made to the entry array which must
be written latter using DBWRT.

Operational Notes


If entry is a scalar entry number or the input file name
is supplied, the entry in the data base will be updated
instead of a supplied entry variable. In this case, !priv
must be greater than 1.

Example


      IDL> dbput,'WAVELEN',1215.6,entry

Procedures Used


      DB_ITEM, DBRD, DBXPUT, DBWRT

History


version 2 D. Lindler Feb 1988 (new db formats)
modified to convert blanks into zeros correctly D. Neill Jan 1991
Converted to IDL V5.0 W. Landsman September 1997
      V5.2 version support unsigned, 64bit integers W. Landsman Sep. 2001



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