$ListNew: Difference between revisions
m (1 revision) |
m (1 revision) |
||
Line 18: | Line 18: | ||
There are no error codes associated with <var>$ListNew</var>. | There are no error codes associated with <var>$ListNew</var>. | ||
All | All invokatians of a particular call to <var>$ListNew</var> 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.<p> | ||
==Products authorizing {{PAGENAMEE}}== | ==Products authorizing {{PAGENAMEE}}== |
Revision as of 21:32, 7 January 2013
Create empty $list
Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $ListNew function is the New (Stringlist constructor).
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 NOREL, 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" />
%result is set to the identifier of the created empty $list.
There are no error codes associated with $ListNew.
All invokatians 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.
Products authorizing $ListNew
- Sirius functions
- Fast/Unload User Language Interface
- Janus Open Client
- Janus Open Server
- Janus Sockets
- Janus Web Server
- Japanese functions
- Sir2000 Field Migration Facility