getpersistentvarstring
- Version 9.4.4 and earlier: getpersistentvarstring() function not available.
- Version 9.4.5 and later: getpersistentvarstring() function available.
Description
The getpersistentvarstring() procedure retrieves a persistent variable from the local database. If the variable does not exist, or has expired, it returns the default empty string "".
Syntax
string getpersistentvarstring(name)
Arguments
name | Required. The name of the variable to be retrieved. This can be any text string. |
Return Values
A string containing the variable contents, or an empty string ("") if the variable does not exist or has expired.
mystr = getpersistentvarstring("msg_" + submituser)
For more information, see the following: