c_putbdf - Places a value into a specific field of a band-dependent record

SYNTAX

#include "las.h"

FUNCTION c_putbdf (bddr, key, value)

     struct BDDR          *bddr;
     long                 *key;
     unsigned char        *value;

PARAMETERS

bddr (input/output, BDDR)

A BDDR structure or a FORTRAN integer array dimensioned to BDRLEN. It contains the fields of the band record of the DDR.

key (input, integer)

A constant used to designate the field of the DDR where value will be placed. The constants are shown below.

          DDBAND  -- Band number  
          DDMMV   -- Min/max validity flag 
          DDMIN   -- Minimum value    
          DDMAX   -- Maximum value   
          DDSRC   -- Source         
          DDINST  -- Instrument   
          DDDIR   -- Direction    
          DDCDAT  -- Capture date  
          DDCTIM  -- Capture time 

value (input, character, length(*))

Value that will be placed in the field of bddr that corresponds to key. It should consist of the same data type and length as the field of bddr that is needed.

DESCRIPTION

The c_putbdf() call is used to place value in the field of bddr designated by key.

RETURN VALUE

c_putbdf() returns

     E_SUCC (0)  --> successful completion
     E_FAIL (-1) --> operation failed