DBgetInitialValueText

Top  Previous  Next

An initialization string deliver as a text.

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. DBgetInitialValueText delivers such a sign chain in a buffer provided by the user value back. If the variable with this name is not put, the string dfault is delivered 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 text, should be determined.

value (char *) [OUT]

The calling must make available an enough big sign field in this parametre. In this area the initialization string is written. If the variable with this name does not exist, it is delivered as a result of the Defaultwert dfault.

dfault (char *) [IN]

If the variable is not existed this value as a result delivered.

Result

---

Declaration

#include "database.h"

 

void DLLENTRY DBgetInitialValueText (

PROOT root,

char * name,

char * value

char * dfault

);

Related procedures

DBgetInitialValueDouble

DBgetInitialValueLong

DBsetInitialValueDouble

DBsetInitialValueText

DBsetInitialValueLong