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 ("select") function
- rtecall ("setdebug") function
- rtecall("sort") function
- rtecall("statusupdate") function
- rtecall("transtart") function
- rtecall("transtop") function
- rtecall("trigger") function
rtecall("getnumber") function
A RAD function that replaces the getnumb RAD application.
Function
rtecall("getnumber")
Format
$L.flg=rtecall($L.fnc.name, $L.return.code, $L.number, $L.class, $L.field)
Parameters
The following parameters are valid for the rtecall("getnumber") function:
Parameter | Data type | Description |
---|---|---|
$L.flg | Logical | The value is true for success and false if an error occurs. |
$L.fnc.name | String | The name of the sub-function to call, in this case "getnumber". |
$L.return.code | Number | The value is zero (0 ) if everything is correct, negative one (-1 ) if an error occurs. This
is related directly to $L.flg. |
$L.number | String | The number or string returned |
$L.class | String | The class of number for which you are searching (from the number file). |
$L.field | String | Reserved for future use. |
Factors
A sequential overview:
- The function establishes a lock called "getnumb"+$L.class+$L.field and waits until the lock is established.
- If the number class is not found, or if there are duplicates, the following error displays:
($L.flg=false)
- The function reads the current number.
- The function increments or decrements by the step value. The step defaults to one (
1
). - If incrementing and the number is greater than the reset value, it uses the start number. Start defaults to zero (
0
). -
A new field called string.flg.
- If string.flg is
false
, it remains a numeric type. - If string.flg is
true
, the number is converted to a string.
- If string.flg is
unknown
, or the field isn’t in the database dictionary (not added during an upgrade), the function checks for a prefix, a suffix, or length. If any one of these exists, the function converts the value to a string. If none of these exist the function leaves the value as a number.
- If string.flg is
- To convert the value to a string, the function uses the prefix, corrects the length of the number (padded with zeros on the left), and then adds the suffix.
- The function eventually saves the new number to the file and returns it to the user, converted to a string if necessary.
- Finally, it unlocks and returns.