HGE::Ini_GetString
Reads a string from initialization file.
char *Ini_GetString(
const char *section,
const char *name,
const char *def_val
);
Parameters
- section
- Initialization file section name.
- name
- Key name.
- def_val
- Default string.
Return value
Returns pointer to the string in temporary buffer. If the requested key is found
within current initialization file, it's value is copied to the buffer.
Otherwise the default string is copied.
Remarks
HGE_INIFILE system state must be set before
calling this function. The name of the section is case-independent.
Requirements
Header: hge.h
Import library: hge.lib
See also
Ini_SetString,
Ini_SetInt,
Ini_GetInt,
Ini_SetFloat,
Ini_GetFloat
|