sys_setstr(char* section, char* name, STRING* content)

Stores a text in the registry under a given section and key name.

sys_getstr(char* section, char* name, STRING* content) : STRING*

Loads a stored text from the registry.

sys_setvar(char* section, char* name, var value)

Stores a var in the registry.

sys_getvar(char* section, char* name) : var

Loads a stored var from the registry.

Parameters:

section Name of the registry section (e.g. "Software\\myGame"), STRING* or char*.
name Name of the registry key, STRING* or char*.
content The text to be stored or loaded, STRING* or char*.
value The numeric value to be stored.

Returns:

0 if the operation failed, otherwise nonzero.

Speed:

Medium

Edition:

A8.11  LC 

Example:

sys_setstr("Software\\Rocketman","user_name",strUser);

See also:

sys_trial

► latest version online