$ListChk: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(Automatically generated page update) |
||
Line 10: | Line 10: | ||
The first argument is a potential $list identifier. This is a required argument. | The first argument is a potential $list identifier. This is a required argument. | ||
==Syntax== | ==Syntax== | ||
<p class="syntax"><span class="term">%result</span> = $ListChk(list_identifier) | <p class="syntax"><span class="term">%result</span> = <span class="literal">$ListChk</span>(<span class="term">list_identifier) | ||
</p> | </p> | ||
<p> | <p> |
Revision as of 21:52, 10 April 2013
Validate a $list identifier
Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $ListChk function.
This function returns either a 0 if a value is not a valid $list identifier and a 1 otherwise.
The $ListChk function accepts one argument and returns a numeric result.
The first argument is a potential $list identifier. This is a required argument.
Syntax
%result = $ListChk(list_identifier)
%result is set either to 1, if the passed value is indeed a valid $list identifier, or to 0 otherwise.
All errors cause request cancellation
The only possible error in a $ListChk call is not specifying a value for the candidate $list identifier. This error will cause request cancellation.
Products authorizing $ListChk
- Sirius functions
- Fast/Unload User Language Interface
- Janus Open Client
- Janus Open Server
- Janus Sockets
- Janus Web Server
- Japanese functions
- Sir2000 Field Migration Facility