DBASEgetLongByName

Top  Previous  Next

A field value as long int zurückliefern.

In a record it is searched long int which is identified about the name feldname. If no value can be found, becomes 0 zurückgeliefert. If is the value by feldname it is not identified as long int interpretable, the zurückgelieferte value is undefined one.

Parametre

buf (DBbuffer *) [IN]

Act on the open data bank.

elem (void *) [IN]

A before read record

feldname (char *) [IN]

feldname gives the value which should become as long int zurückgeliefert.

Result

(long int) [OUT]

The long int value which is identified in the record about feldname, or 0 if no field with the name feldname exists. In the mistake case the value is undefined one.

Declaration

#include "dbase.h"

 

long int DLLENTRY DBASEgetLongByName (

DBbuffer * buf,

void * elem,

char * feldname

);

Related functions

DBASEfindDataset

DBASEgetDataset

DBASEgetLongByOffset