getpersistentvarlist

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

Description

The getpersistentvarlist() procedure retrieves a persistent variable from the local database. If the variable does not exist, or has expired, it returns the default empty list {}.

Syntax

list getpersistentvarlist(name)sna

Arguments

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

Return Values

A list containing the variable contents, or an empty list if the variable does not exist or has expired.

mylist = getpersistentvarlist("hosts_" + submituser)