function saves a setting as an attribute-value pair using the string expression attribute
and the string or numeric expression value
. You can save multiple settings using different attribute strings and can retrieve the settings using the loadsetting
function. These settings are stored locally on the device and can be accessed by other programs using the attribute string. Using settings is a way to share data between different CSPro applications on the same device.
The function returns 1 (true) if successful or 0 (false) if the function failed.