Please enable JavaScript to view this site.

A-Shell Reference

To retrieve (get) a specific value:

? tab(-10, AG_WINSETTINGS); "0,"; id;", ,1"; chr(127);

input "",VALUE

To update (set) a specific value:

? tab(-10, AG_WINSETTINGS); "1,"; id;",value"; chr(127);

To save all current settings to the specified fspec:

? tab(-10, AG_WINSETTINGS); "2,"; fspec; ",1"; chr(127);

input "", STATUS

To load all settings from a settings file:

? tab(-10, AG_WINSETTINGS); "3,"; fspec; ",1"; chr(127);

input "", FSPEC

AG_WINSETTINGS (46) retrieves or updates individual configuration settings—the types of settings that may be set in the Settings menu dialogs and saved or loaded from the File menu options—as well as saving or loading the entire set of values.

This function has both a subroutine and a print tab implementation.

Because the syntax is a bit tricky, in most cases it will be preferable to use MX_WINSETTINGS.

Parameters

id

identifies the individual settings parameter to retrieve or update; see the table MX_WINSETTINGS.

value

specifies the string or numeric value to set for the specified parameter.

fspec

specifies the file to load from or save to. If left blank, the current settings file will be used.

See Also