R - Petewg/harbour-core GitHub Wiki
Back to Home
-
RAt(
<cSearch>, <cTarget>) ➜ nPosition
searches the string<cString>from right to left for the character string<cSearch>- NOTE: it is case-sensitive. -
RDDName() ➜ cRDD
returns RDD name in use, RTE if no database is in use. -
RDDSetDefault(
[<cNewDefaultRDD>])➜ cPreviousDefaultRDD
set the RDD to use. (there exist also, DBSetDriver([<cNewDefaultRDD>]) ) -
ReadExit(
<lToggle>) ➜ lCurrentState -
ReadInsert(
<lToggle>) ➜lCurrentMode -
ReadKey() ➜ nReadkeyCode
-
ReadModal(
<aGetList>) ➜ NIL -
ReadVar() ➜ cVarName
-
RecCount() ➜ nRecords
(It is internally translated into Lastrec(). So, prefer to use LastRec() instead). -
RecNo() ➜ nRecord
returns the record number of the current record in a work area. If no database is open in the work area, returns zero. -
RecSize() ➜ nBytes
returns the record length, or number of bytes required to store a record in a database open in a work area. If no database is open in the work area, the return value is zero. -
Replicate(
<cString>, <nCount>) ➜ cRepeatedString
returns a character string made up of<nCount>times the<String>. -
RestScreen(
[<nTop>], [<nLeft>], [<nBottom>], [<nRight>], <cScreen>) ➜ NIL -
Right(
<cString>, <nCount>) ➜ cSubString
the right-to-left counterpart of Left() function (refer..). -
RLock() ➜ lSuccess
attempts to lock the focused record in current or aliased work area. Returns true if record lock is successful otherwise false. -
Round(
<nNumber>, <nDecimals>) ➜ nRounded
rounds off the value of<nNumber>to the number of decimal places specified by<nDecimals>. If the value of<nDecimals>is a negative number, the function will attempt to round<nNumber>in whole numbers. Digits from5through9will be roundedup(i.e to next greater value), while digits1...4will be roundeddown(which, in other words, means they will be lost!). -
Row() ➜ nRow
returns the current screen row. -
RTrim() ➜ cTrimString
removes all trailing spaces from a string.
Back to Home
* Copyright © 2016–present Pete D.