DBgetInitialValueDouble

Top  Previous  Next

The floating decimal point 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. DBgetInitialValueDouble delivers the value of such an initialization and delivers this as a STAND-IN back. If the variable with this name is not put, it is delivered to 0 as a result. 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 floating decimal point number, should be determined.

dfault (STANDS IN) [IN]

Default value, if no suitable value could be found.

Result

(STAND-IN) [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"

 

STAND-IN DLLENTRY DBgetInitialValueDouble (

PROOT root,

char * name,

STAND-IN dfault

);

Related procedures

DBgetInitialValueText

DBgetInitialValueLong

DBsetInitialValueDouble

DBsetInitialValueText

DBsetInitialValueLong