The
loadsetting function, using the string expression
attribute, retrieves a setting from an attribute-value pair, a setting that has been previously saved using the
savesetting function. An optional string or numeric expression
default_setting can be provided and will be returned if no value has been saved for the given attribute.
The file from which settings are retrieved can be modified by altering the CommonStore attribute of a PFF file.
Settings can also be retrieved using the
Settings.getValue action. The
persistent variable modifier can also be used to serialize settings across application runs.
The function returns a string containing the value associated with the attribute. If no value is associated with the attribute, then the function returns a blank string unless a default setting has been provided, in which case it returns the default setting.