|
|
(10 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| BR has numerous built-in '''internal functions''' that return either [[numeric]] or [[string]] values. By using internal functions for tasks such as [[searching]] or [[summing an array]], both programmers and programs can be more efficient in getting their jobs done. Numeric functions may be used anywhere that a numeric expression is valid. Likewise, string functions may be used anywhere that a string expression is valid. Internal functions usually perform generic tasks often needed by programmers.
| | #Redirect:[[:Category:Internal Functions]] |
| | |
| This section presents these internal functions in alphabetical order. Their purpose is described, comments and examples are provided and related functions are mentioned.
| |
| | |
| ==Syntax Conventions==
| |
| | |
| Numeric values are symbolized by the [[Variable|variables]] X and Y. String variables are symbolized by A$, B$, and C$. File reference numbers are symbolized by N, where N is the number associated with an opened file. Square brackets around a parameter indicate the parameter is optional. In all cases, the parameters or arguments which are passed remain unchanged.
| |
| | |
| ==ABS==
| |
| | |
| {{:ABS}}
| |
| | |
| ==AIDX==
| |
| | |
| {{:AIDX}}
| |
| | |
| ==ATN==
| |
| | |
| {{:ATN}}
| |
| | |
| ==BELL==
| |
| | |
| {{:BELL}}
| |
| | |
| ==CEIL==
| |
| | |
| {{:CEIL}}
| |
| | |
| ==CFORM$==
| |
| | |
| {{:CFORM$}}
| |
| | |
| ==CHR$==
| |
| | |
| {{:CHR$}}
| |
| | |
| ==CMDKEY==
| |
| | |
| {{:CMDKEY}}
| |
| | |
| ==CNT==
| |
| | |
| {{:CNT}}
| |
| | |
| ==CNVRT$==
| |
| | |
| {{:CNVRT$}}
| |
| | |
| ==CODE==
| |
| | |
| {{:CODE}}
| |
| | |
| ==COS==
| |
| | |
| {{:COS}}
| |
| | |
| ==CURCOL==
| |
| | |
| {{:CURCOL}}
| |
| | |
| ==CURFLD==
| |
| | |
| {{:CURFLD}}
| |
| | |
| ==CURROW==
| |
| | |
| {{:CURROW}}
| |
| | |
| ==DATE==
| |
| | |
| {{:DATE (Internal Function)}}
| |
| | |
| ==DATE$==
| |
| | |
| {{:DATE$}}
| |
| | |
| ==DAYS==
| |
| | |
| {{:DAYS}}
| |
| | |
| ==DIDX==
| |
| | |
| {{:DIDX}}
| |
| | |
| ==ENV$==
| |
| | |
| {{:ENV$}}
| |
| | |
| ==ERR==
| |
| | |
| {{:ERR}}
| |
| | |
| ==EXISTS==
| |
| | |
| {{:EXISTS}}
| |
| | |
| ==EXP==
| |
| | |
| {{:EXP}}
| |
| | |
| ==FILE==
| |
| {{:FILE}}
| |
| | |
| ==FILE$==
| |
| | |
| {{:FILE$}}
| |
| | |
| ==FILENUM==
| |
| | |
| {{:FILENUM}}
| |
| | |
| ==FKEY==
| |
| | |
| {{:FKEY}}
| |
| | |
| ==FP==
| |
| {{:FP}}
| |
| | |
| ==FREESP==
| |
| | |
| {{:FREESP}}
| |
| | |
| ==HELP$==
| |
| | |
| {{:HELP$}}
| |
| | |
| ==HEX$==
| |
| | |
| {{:HEX$}}
| |
| | |
| ==INF==
| |
| | |
| {{:INF}}
| |
| | |
| ==INT==
| |
| | |
| {{:INT}}
| |
| | |
| ==IP==
| |
| | |
| {{:IP}}
| |
| | |
| | |
| ==KLN==
| |
| | |
| {{:KLN}}
| |
| | |
| ==KPS==
| |
| | |
| {{:KPS}}
| |
| | |
| | |
| ==KREC==
| |
| | |
| {{:KREC}}
| |
| | |
| ==KSTAT$==
| |
| | |
| {{:KSTAT$}}
| |
| | |
| ==LEN==
| |
| | |
| {{:LEN}}
| |
| | |
| ==LINE==
| |
| | |
| {{:LINE}}
| |
| | |
| ==LINES==
| |
| | |
| {{:LINES}}
| |
| | |
| ==LINESPP==
| |
| | |
| {{:LINESPP}}
| |
| | |
| ==LOG==
| |
| | |
| {{:LOG}}
| |
| | |
| ==LOGIN_NAME$==
| |
| | |
| {{:LOGIN_NAME$}}
| |
| | |
| ==LPAD$==
| |
| | |
| {{:LPAD$}}
| |
| | |
| ==LREC==
| |
| | |
| {{:LREC}}
| |
| | |
| ==LTRM$==
| |
| | |
| {{:LTRM$}}
| |
| | |
| ==LWRC$==
| |
| | |
| {{:LWRC$}}
| |
| | |
| ==MAX==
| |
| | |
| {{:MAX}}
| |
| | |
| ==MAX$==
| |
| | |
| {{:MAX$}}
| |
| | |
| ==MIN==
| |
| | |
| {{:MIN}}
| |
| | |
| ==MIN$==
| |
| | |
| {{:MIN$}}
| |
| | |
| ==MOD==
| |
| | |
| {{:MOD}}
| |
| | |
| ==MSG==
| |
| | |
| {{:MSG}}
| |
| | |
| ==MSG$==
| |
| | |
| {{:MSG$}}
| |
| | |
| ==MSGBOX==
| |
| | |
| {{:MSGBOX}}
| |
| | |
| ==NEWPAGE==
| |
| | |
| {{:NEWPAGE}}
| |
| | |
| ==ORD==
| |
| | |
| {{:ORD}}
| |
| | |
| ==OS_FILENAME$==
| |
| | |
| {{:OS_FILENAME$}}
| |
| | |
| ==PI==
| |
| | |
| {{:PI}}
| |
| | |
| ==PIC$==
| |
| | |
| {{:PIC$}}
| |
| | |
| ==POS==
| |
| | |
| {{:POS}}
| |
| | |
| ==PROCIN==
| |
| | |
| {{:PROCIN}}
| |
| | |
| ==PROGRAM$==
| |
| | |
| {{:PROGRAM$}}
| |
| | |
| ==REC==
| |
| | |
| {{:REC}}
| |
| | |
| ==RLN==
| |
| | |
| {{:RLN}}
| |
| | |
| ==RND==
| |
| | |
| {{:RND}}
| |
| | |
| ==ROUND==
| |
| | |
| {{:ROUND}}
| |
| | |
| ==RPAD$==
| |
| | |
| {{:RPAD$}}
| |
| | |
| ==RPT$==
| |
| | |
| {{:RPT$}}
| |
| | |
| ==RTRM$==
| |
| | |
| {{:RTRM$}}
| |
| | |
| ==SERIAL==
| |
| | |
| {{:SERIAL}}
| |
| | |
| ==SETENV==
| |
| | |
| {{:SETENV}}
| |
| | |
| ==SGN==
| |
| | |
| {{:SGN}}
| |
| | |
| ==SIN==
| |
| | |
| {{:SIN}}
| |
| | |
| ==SLEEP==
| |
| | |
| {{:SLEEP}}
| |
| | |
| ==SQR==
| |
| | |
| {{:SQR}}
| |
| | |
| ==SRCH==
| |
| | |
| {{:SRCH}}
| |
| | |
| ==SREP$==
| |
| | |
| {{:SREP$}}
| |
| | |
| ==STR$==
| |
| | |
| {{:STR$}}
| |
| | |
| ==SUM(NUM-ARRAY)==
| |
| | |
| {{:SUM}}
| |
| | |
| ==TAN==
| |
| | |
| {{:TAN}}
| |
| | |
| ==TRIM$==
| |
| | |
| {{:TRIM$}}
| |
| | |
| ==TIME$==
| |
| | |
| {{:TIME$}}
| |
| | |
| ==UDIM==
| |
| | |
| {{:UDIM}}
| |
| | |
| ==UNHEX$==
| |
| | |
| {{:UNHEX$}}
| |
| | |
| ==UPRC$==
| |
| | |
| {{:UPRC$}}
| |
| | |
| ==VARIABLE$==
| |
| | |
| {{:VARIABLE$}}
| |
| | |
| ==VAL==
| |
| | |
| {{:VAL}}
| |
| | |
| ==VERSION==
| |
| | |
| {{:VERSION}}
| |
| | |
| ==WBPLATFORM$==
| |
| | |
| {{:WBPLATFORM}}
| |
| | |
| ==WBVERSION$==
| |
| | |
| {{:WBVERSION$}}
| |
| | |
| ==WSID$==
| |
| | |
| {{:WSID$}}
| |
| | |
| ==XLATE$==
| |
| | |
| {{:XLATE$}}
| |
| | |
| <noinclude>
| |
| [[Category:Internal Functions]]
| |
| </noinclude>
| |