DBgetVariableText

Top  Previous  Next

An initialization variable as a text determine.

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/INI at user level. The values with DBsetInitialValue... or DBsetVariable... are put on programmer's level. DBsetVariableText writes such an initialization in the data bank. Functions like DBsetInitialValueLong hand over a long value which is stored away with the function DBsetVariableText then as a sign chain. With the routine DBgetVariableText the variable value is determined.

Parametre

root (PROOT) [IN]

Act on the open data bank.

name (char *) [IN]

The value is searched which is filed under this name.

value (char *) [IN / OUT]

In value becomes the value zurückgeliefert. value must point at enough big storage area.

dfault (char *) [IN]

If no entry can be found under the name name, this value is written back as a Default value in value.

art (int) [IN]

If no meaning has by this call and can be any, therefore.

Result

---

Declaration

#include "database.h"

 

void DLLENTRY DBgetVariableText (

PROOT root,

char * name,

char * value,

char * dfault,

int art

);

Related functions

DBsetVariableText