Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- List: rtecalls
- rtecall("alalnum") function
- rtecall("counter") function
- rtecall("datemake") function
- rtecall("escstr") function
- rtecall("filecopy") function
- rtecall("fileinit") function
- rtecall("filldate") function
- rtecall("getnumber") function
- rtecall("getprimary") function
- rtecall("getrecord") function
- rtecall("getunique") function
- rtecall("isalnum") function
- rtecall("isalpha") function
- rtecall("islower") function
- rtecall("isnumeric") function
- rtecall("isupper") function
- rtecall("log") function
- rtecall("passchange") function
- rtecall("policycheck") function
- rtecall("qbeform") function
- rtecall("recdupl") function
- rtecall("recordexists") function
- rtecall("refresh") function
- rtecall("resetnotebook") function
- rtecall("rfirst") function
- rtecall("rgoto") function
- rtecall("rid") function
- rtecall("scantable") function
- rtecall("sort") function
- rtecall("statusupdate") function
- rtecall("transtart") function
- rtecall("transtop") function
- rtecall("trigger") function
rtecall("sort") function
A RAD function that sorts a list or a list of lists in ascending or descending order.
Function
rtecall("sort")
Format
$L.success.flg=rtecall($L.fnc.name, $L.return.code, $L.grid, $L.index, $L.type, $L.nulls)
Parameters
The following parameters are valid for the rtecall("sort") function:
Parameter | Data type | Description |
---|---|---|
$L.success.flg | Logical | Indicates whether or not the function was successful. |
$L.fnc.name | String | Name of the sub-function to call, in this case "sort". |
$L.return.code | Number | Provides a more detailed return code. |
$L.grid | Array | The list or list of lists to be sorted. |
$L.index | Number | The index of the array in the grid to use as the sort field. A zero (0 ) is the first element of the array. |
$L.type | Number | The type of sort to perform. Use zero (0 ) for an ascending sort or one (1 ) for a descending sort. |
$L.nulls | Number | Specifies how the function should sort null values. Use one (1 ) to sort null values at the end of the list or zero (0 ) to sort values at the start of the list. |
Factors
If the $L.success.flg is false
, the function failed. If it is true
, the function succeeded.
Examples
$L.list={29, 2, 72, 42} $L.success.flg=rtecall("sort", $L.return.code, $L.list, 1, 0) Returns: $L.list={2, 29, 42, 72}
$L.list={29, 2, 72, 42} $L.success.flg=rtecall("sort", $L.return.code, $L.list, 1, 1) Returns: $L.list={72, 42, 29, 2}
$L.list={29, 2, , 72, 42} $L.success.flg=rtecall("sort", $L.return.code, $L.list, 1, 0, 1) Returns: $L.list={2, 29, 42, 72, }
$L.list={29, 2, , 72, 42} $L.success.flg=rtecall("sort", $L.return.code, $L.list, 1, 0, 0) Returns: $L.list={, 2, 29, 42, 72}
$L.list={{"a", "b", "d", "c"},{1, 3, 4, 2}} $L.success.flg=rtecall("sort", $L.return.code, $L.list, 1, 0) Returns: $L.list= {{"a", "c", "b", "d"}, {1, 2, 3, 4}}
$L.list={{"a", "b", "d", "c"},{1, 3, 4, 2}} $L.success.flg=rtecall("sort", $L.return.code, $L.list, 1, 1) Returns: $L.list={{"d", "b", "c", "a"}, {4, 3, 2, 1}}
$L.list={{"a", "b", "d", "c"},{1, 3, 4, 2}} $L.success.flg=rtecall("sort", $L.return.code, $L.list, 0, 0) Returns: $L.list={{"a", "b", "c", "d"}, {1, 3, 2, 4}}
$L.list={{"a", "b", "d", "c"},{1, 3, 4, 2}} $L.success.flg=rtecall("sort", $L.return.code, $L.list, 0, 1) Returns: $L.list={{"d", "c", "b", "a"}, {4, 2, 3, 1}}
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to ovdoc-ITSM@hp.com.
Help Topic ID:
Product:
Topic Title:
Feedback: