$ListNew
<section begin="desc" />Create empty $list<section end="desc" />
Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $ListNew function is to be entered.
This function creates an empty $list.
The $ListNew function accepts one argument and returns a numeric result.
The first argument, if set to the string &OSQ.NOREL&CSQ., indicates that the contents of the $list are not to be emptied when a RELEASE ALL RECORDS statement is executed. This is an optional argument.
Syntax
<section begin="syntax" /> %RESULT = $ListNew(option) <section end="syntax" />
There are no error codes associated with $ListNew.
All invocations of a particular call to $ListNew will always return the same value. Each time that call is executed, any previous $list created by that call is deleted, and a new list is created.