• Version 9.4.4 and earlier: getpersistentvarstring() function not available.
  • Version 9.4.5 and later: getpersistentvarstring() function available.

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 "".

string getpersistentvarstring(name)
name Required. The name of the variable to be retrieved. This can be any text string.

A string containing the variable contents, or an empty string ("") if the variable does not exist or has expired.

mystr = getpersistentvarstring("msg_" + submituser)