Reserved Words: Difference between revisions
(Created page with "These '''reserved words''' are mainly names of existing functions and a few others reserved for future use. Reserved words could be used as line labels, file names, [[prog...") |
No edit summary |
||
Line 1: | Line 1: | ||
These '''reserved words''' are mainly names of existing functions and a few others reserved for future use. Reserved words could be used as [[line labels]], file names, [[program]] names, or [[variables]], but doing so is highly advised against (except file names and program names). | These '''reserved words''' are mainly names of existing functions and a few others reserved for future use. Reserved words could be used as [[Line Label (program)|line labels]], file names, [[program]] names, or [[variables]], but doing so is highly advised against (except file names and program names). | ||
The reserved words listed ''should'' not be used as variable names in [[Business Rules!]] [[statements]]. Nor should any [[keyword abbreviation]] be used as a variable name. | The reserved words listed ''should'' not be used as variable names in [[Business Rules!]] [[statements]]. Nor should any [[keyword abbreviation]] be used as a variable name. |
Revision as of 18:44, 17 May 2013
These reserved words are mainly names of existing functions and a few others reserved for future use. Reserved words could be used as line labels, file names, program names, or variables, but doing so is highly advised against (except file names and program names).
The reserved words listed should not be used as variable names in Business Rules! statements. Nor should any keyword abbreviation be used as a variable name.
BR! Program Reserved Words
The following words are reserved for use within or to control Business Rules! program files (*.br).
Currently Implemented
Internal Functions, Commands and Statements
The use of these words within BR! programs does not directly affect the flow of logic.
- Abs AIdx And Atn Attr
- Base Bell Boolean Border Buttons
- CEIL Chr$ CmdKey Cnt Cnvrt$ CoS CurCol CurFld CurPos Currency CurRow CFields$ CForm$ Code CurTab
- Data Date Date$ Days Delete DIdx Display Double D Dim DimOnly
- Each Env$ Erase Exists Exit Exp External
- Fields File File$ FileNum Form FP FreeSp Friend FKey Free F Fi Fie Fiel Field First
- Help$ Hex$ Help
- Imp Inf Int Internal IP Is In I
- KLn KPs KRec KStat$ Keyed Key
- Last Len Let Line Locked Log LPad$ LRec LTrm$ LwrC$
- Max Max$ Min Min$ Mod Msg$ Menu MsgBox
- New NewPage Not NxtFld
- Or Ord OutIn OutPut O
- Pi Pic$ Pos Print Private ProcIn Public Put Pr Prior P Pri Prin Program$
- Randomize Rec ReDim Relative RLn Rnd Round RPad$ Rpt$ RTrm$ Release Reserve
- Serial Set Sgn Shared Shift Sin Single Sqr Srch SRep$ Static Step Str$ String Sum Search Same Sleep SetEnv Scr_Freeze Scr_Thaw System SOFlow Session$
- Tan Time$ To Trace Trim$ Time Time$ Timer
- UBound UDim UnHex$ UprC$ Use Using Until
- Val Variable$ Version
- WSID$ WBVersion$ Wait While
- XLate$ Xor
Logic Flow and File IO
These words may affect the flow of logic during the regular processing of a program or perform File IO. Excluded from this word list are words that potentially qualify for code folding (see Code Folding within this section below)
- Close Continue Chain Conv
- Err Explicit Execute Error End EoF Else Exe Exec Execu Execut
- For
- GoSub GoTo
- Input IOErr
- Library LInput
- Mat
- NoKey None NoRec Next
- On Open Option
- RInput Read ReWrite Return ReRead Restore Retry RIn RInp RInpu
- Select Stop
- Then TimeOut
- Write While
- ZDiv
Function Names
- Fn*(all words starting with FN, except FnEnd) (Function Library)
Program Controls
Code Folding
The following Keywords may be used to implement code folding in some third party editors (i.e. Notepad++).
Top
Bottom
Comments
These keywords denote only comments remain on the remainder of a line or a line segment.
Reserved for Future Implementation
Usage Discontinued
BRConfig.sys Reserved Words
Currently Implemented
BRConfig.sys Specifications
The following keywords are currently reserved for use in BRConfig.sys specifications.
- @
- 3D_Fields
- Attribute Application_Name
- BaseYear
- Collate Cursor Client_Current_Dir
- Drive DataHilite
- Execute Editor Expressions
- FileNames Font ForStack FlowStack FieldHelp FieldBreak
- Graphic_LineDraw GUI
- Insert Indent Include
- KeyBoard Keyword
- Limit Labels Lower Logging
- MaxRecall Min_Length Min_FontSize Min_Spaces Mixed
- Native
- On Off Option OnQPath OpenDflt
- Printer PrintDir
- Raised Rem RPNStack Run
- S/23-Drives SpoolCmd Select Shell Screen Substitute SetEnv Style
- Type TypeAhead
- Upper_Case Upper Underscore Undr_On
- WBServer WorkStack WSID
Reserved for Future Implementation
BR! Proc Reserved Words
Currently Implemented
Internal Functions, Commands and Statements
The use of these words within BR! programs does not directly affect the flow of logic.
- Abs AIdx And Atn All
- Base Bell Boolean Border Buttons B Bo Bor Bord Borde Border
- CEIL Chr$ CmdKey Cnt Cnvrt$ CODE COS CurCol CurFld Currency CerRow Con Conf Confi Config Clear
- Data Date Date$ Days Delete DIDX Display Double DupKeys
- Each Env$ Erase Exists Exit EXP External Echo
- Fields File File$ FileNum Form FP FreeSp Friend FKey Font
- Get GUI
- Help$ Hex$
- Imp In INF INT Internal IP Is Index
- KLn KPs KRec KStat$ Keyed Key
- Len Let Line Log LPad$ LRec LTrm$ LwrC$ List ListDupKeys
- Max Max$ Min Min$ Mod Msg$ [[]]
- New NewPage Not
- Or Ord OutIn OutPut Off On
- Pi Pic$ Pos Print Private ProcIn Public Put Proc Pr Pri Prin Program$
- Randomize Rec ReDim Relative Resume RLn Rnd Round RPad$ Rpt$ RTrm$ Release Replace Rep Repl Repla Replac
- Serial Set SGN Shared Shift SIN Single SQR Srch SRep$ Static Step Str$ String Sum Shr SubProc Session$ SetEnv Stat Statu Status
- Tan Time$ To Trace Trim$
- UBound UDim UnHex$ UprC$ Use Using
- Val
- WSID$
- XLate$ Xor
Logic Flow and File IO
These words may affect the flow of logic or perform File IO during the regular processing of a procedure file. Excluded from this word list are words that potentially qualify for code folding (see Code Folding within this section below)
- Close Chain
- Del
- Err Execute Error End EoF Else
- GoSub GoTo
- Input IOErr If
- Library LInput
- Mat
- NoKey None
- On Open Option
- RInput Read ReWrite ReRead Restore Retry
- Select Sy Sys Syst Syste System SubProc
- Then
- Until
- Write While
Paragraph Labels
- Words that begin with a colon ([[:]]) as the first character of the line