DBASEgetDoubleByOffset

Top  Previous  Next

A field value as a stand-in zurückliefern.

In a record a stand-in who is identified about the offset offset and the length length is searched. If no value can be found, becomes 0 zurückgeliefert. If the value is not interpretable as a stand-in, the zurückgelieferte value is undefined one.

The offset and the length of field name is able with the function DBASEgetFieldOffsetAndLength are determined.

Parametre

buf (DBbuffer *) [IN]

Act on the open data bank.

elem (void *) [IN]

A before selected record

offset (long int) [IN]

offset describes the position in the record.

length (long int) [IN]

length describes the length of the field value in the record from the position offset.

Result

(stands in) [OUT]

The stand-in's value which is identified in the record about offset and length, or 0 if no field from exists offset. In the mistake case the value is undefined one.

Declaration

#include "dbase.h"

 

stand in for DLLENTRY DBASEgetDoubleByOffset (

DBbuffer * buf,

void * elem,

long int offset

long int length

)

Related functions

DBASEfindDataset

DBASEgetDataset

DBASEgetDoubleByName

DBASEgetFieldOffsetAndLength