$ListChk: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 2: | Line 2: | ||
<span class="pageSubtitle">Validate a $list identifier</span> | <span class="pageSubtitle">Validate a $list identifier</span> | ||
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $ListChk function.</p> | <p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the <var>$ListChk</var> function.</p> | ||
This function returns either a 0 if a value is not a valid $list identifier and a 1 otherwise. | 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 <var>$ListChk</var> function accepts one argument and returns a numeric result. | ||
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. | ||
Line 22: | Line 22: | ||
</p> | </p> | ||
The only possible error in a $ListChk call is not specifying a value for the candidate $list identifier. This error will cause request cancellation.<p> | The only possible error in a <var>$ListChk</var> call is not specifying a value for the candidate $list identifier. This error will cause request cancellation.<p> | ||
<ul class="smallAndTightList"> | <ul class="smallAndTightList"> |
Revision as of 19:25, 19 October 2012
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
<section begin="syntax" /> %RESULT = $ListChk(list_identifier) <section end="syntax" />
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.