|
|
(13 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>
| |