REGISTRY.LOAD_SETTINGS()

Syntax

:REGISTRY.LOAD_SETTINGS( Registry_Key as C, Dot_Variable as P )

Argument

Description

Registry_Key

The name of a registry entry.

Dot_Variable

The name of a dot variable. This variable must be initialized (as in Dot_Variabl e .foo="" ) before calling the method.

Description

The REGISTRY.LOAD_SETTINGS() method reads variables from the Registry and stores them in a "dot" variable called Dot_Variable. Registry entries are read from the Registry_Key entry, which is relative to the root key.

The root key is for Alpha Five Version 5:

HKEY_CURRENT_USER\Software\Alpha Software\Alpha Five 5.0

The root key is for Alpha Five Version 6:

HKEY_CURRENT_USER\Software\Alpha Software\Alpha Five 6.0

The root key is for Alpha Five Version 7:

HKEY_CURRENT_USER\Software\Alpha Software\Alpha Five 7.0

Examples

Read values from the registry key UserInformation and store in a variable called User_Data.

'Initialize the User_Data "Dot" variable

User_Data.foo = ""

:registry.load_settings("UserInformation", User_Data)

See Also

Registry Methods

Supported By

Alpha Five Version 5 and Above