$ListNewI: Difference between revisions
(Automatically generated page update) |
(Automatically generated page update) |
||
Line 31: | Line 31: | ||
<li>[[Janus Web Server]]</li> | <li>[[Janus Web Server]]</li> | ||
<li>Japanese functions</li> | <li>Japanese functions</li> | ||
<li>[ | <li>[[Media:SirfieldNew.pdf|Sir2000 Field Migration Facility]</li> | ||
</ul> | </ul> | ||
[[Category:$Functions|$ListNewI]] | [[Category:$Functions|$ListNewI]] |
Revision as of 22:58, 19 February 2015
Create empty $list associated with image
Note: Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $ListNewI function is the New constructor.
This function creates an empty $list. The created $list is associated with an image exactly as if the $ListNew call was followed by a $ListImg call.
The $ListNewI function accepts two arguments and returns a numeric result.
The first argument can either be a string containing the name of an image or any image item from the required image.
The second 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.
Syntax
%result = $ListNewI(image_id, [option])
%result is set to the identifier of the created empty $list.
There are no error codes associated with $ListNewI though the absence of the image identifier or an invalid image identifier will cause request cancellation.
All invocations of a particular call to $ListNewI 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 $ListNewI
- Sirius functions
- Fast/Unload User Language Interface
- Janus Open Client
- Janus Open Server
- Janus Sockets
- Janus Web Server
- Japanese functions
- [[Media:SirfieldNew.pdf|Sir2000 Field Migration Facility]