A5_LOAD_SETTINGS()

Syntax

A5_LOAD_SETTINGS( Setting_Name as C, Dot_Variable as P [, Dictionary_Name as C ] )

Argument

Description

Setting_Name

The name of the setting, which becomes the record name in the dictionary table.

Dot_Variable

The name of the dot variable containing the setting.

Dictionary_Name

Optional. Default = dictionary (.ALB file) for current database. The dictionary that will contain the setting.

Description

The A5_LOAD_SETTINGS() method loads settings that are stored in a dictionary by A5_SAVE_SETTINGS() into a Dot_Variable. The type of the record in the dictionary table is "SAVU".

Supported By

Alpha Five Version 5 and Above

Limitations

Desktop applications only.

Example

dim mysettings as P

dim mysettings.computer as C

dim retrieve_settings as P

mysettings.computer = "Compaq"

a5_save_settings("Desktop computer", mysettings)

a5_load_settings("Desktop computer", retrieve_settings)

? retrieve_settings

= computer = "Compaq"

See Also

Variable Functions and Methods