DBgetInitialValueLong

Top  Previous  Next

The ganzzahligen value of an initialization deliver.

In the data bank initialized variables can be stored. This are basically only sign chains which are identified with a name. The values are given with the function InitializeParameter at user level. The values with DBsetInitialValue... are put on programmer's level. DBgetInitialValueLong delivers the value of such an initialization and delivers this as a LONG back. If the variable with this name is not put, <>it is delivered dfault> as a result.

Parametre

root (PROOT) [IN]

The trading of the data bank.

name (char *) [IN]

A string with the name of the variables whose value, interpreted as a whole number, should be determined.

dfault (LONG) [IN]

This value becomes zurückgeliefert if the variable is not defined.

Result

LONG OUT

The value of the variables, provided that this was to be determined. In case of a mistake it is delivered to 0 as a result.

Declaration

#include "database.h"

 

long DLLENTRY DBgetInitialValueLong (

PROOT root,

char * name,

LONG dfault

);

Related procedures

DBgetInitialValueDouble

DBgetInitialValueText

DBsetInitialValueDouble

DBsetInitialValueText

DBsetInitialValueLong