Reserved Words: Difference between revisions
(Removed references to non-BR keywords) |
|||
(One intermediate revision by one other user not shown) | |||
Line 10: | Line 10: | ||
*[[Abs]] [[AIdx]] [[And]] [[Atn]] [[Attr]] | *[[Abs]] [[AIdx]] [[And]] [[Atn]] [[Attr]] | ||
*[[Base]] [[Bell | *[[Base]] [[Bell]] [[Border]] [[Buttons]] | ||
*[[CEIL]] [[Chr$]] [[CmdKey]] [[Cnt]] [[Cnvrt$]] [[CoS]] [[CurCol]] [[CurFld]] [[CurPos | *[[CEIL]] [[Chr$]] [[CmdKey]] [[Cnt]] [[Cnvrt$]] [[CoS]] [[CurCol]] [[CurFld]] [[CurPos]] [[CurRow]] [[CForm$]] [[Code]] [[CurTab]] | ||
*[[Data]] [[Date]] [[Date$]] [[Days]] [[Delete]] [[DIdx]] [[Display | *[[Data]] [[Date]] [[Date$]] [[Days]] [[Delete (disambiguation)|Delete]] [[DIdx]] [[Display]] [[Dim]] [[DimOnly]] | ||
* | *[[Env$]] [[Exists]] [[Exit]] [[Exp]] [[External]] | ||
*[[Fields]] [[File]] [[File$]] [[FileNum]] [[Form]] [[FP]] [[FreeSp | *[[Fields]] [[File]] [[File$]] [[FileNum]] [[Form]] [[FP]] [[FreeSp]] [[FKey]] [[Free]] [[Fields]] [[First]] | ||
*[[Help$]] [[Hex$]] [[Help]] | *[[Help$]] [[Hex$]] [[Help]] | ||
* | *[[Inf]] [[Int]] [[Internal]] [[IP]] | ||
*[[KLn]] [[KPs]] [[KRec]] [[KStat$]] [[Keyed]] [[Key]] | *[[KLn]] [[KPs]] [[KRec]] [[KStat$]] [[Keyed]] [[Key]] | ||
*[[ | *[[LAST]] [[Len]] [[Let]] [[Line]] [[Locked]] [[Log]] [[LPad$]] [[LRec]] [[LTrm$]] [[LwrC$]] | ||
*[[Max]] [[Max$]] [[Min]] [[Min$]] [[Mod]] [[Msg$]] [[Menu]] [[MsgBox]] | *[[Max]] [[Max$]] [[Min]] [[Min$]] [[Mod]] [[Msg$]] [[Menu]] [[MsgBox]] | ||
*[[New]] [[NewPage]] [[Not]] [[NxtFld]] | *[[New]] [[NewPage]] [[Not]] [[NxtFld]] | ||
*[[Or]] [[Ord]] [[OutIn]] [[OutPut | *[[Or]] [[Ord]] [[OutIn]] [[OutPut]] | ||
*[[Pi]] [[Pic$]] [[Pos]] [[Print]] [[Private]] [[ProcIn]] [[Public | *[[Pi]] [[Pic$]] [[Pos]] [[Print]] [[Private]] [[ProcIn]] [[Public]] [[Prior]] [[Program$]] | ||
*[[Randomize]] [[Rec]] [[ReDim]] [[Relative]] [[RLn]] [[Rnd]] [[Round]] [[RPad$]] [[Rpt$]] [[RTrm$]] [[Release]] [[Reserve]] | *[[Randomize]] [[Rec]] [[ReDim]] [[Relative]] [[RLn]] [[Rnd]] [[Round]] [[RPad$]] [[Rpt$]] [[RTrm$]] [[Release]] [[Reserve]] | ||
*[[Serial | *[[Serial]] [[Sgn]] [[Shr]] [[Shift]] [[Sin]] [[Sqr]] [[Srch]] [[SRep$]] [[Step]] [[Str$]] [[String]] [[Sum]] [[Search]] [[Same]] [[Sleep]] [[SetEnv]] [[Scr_Freeze]] [[Scr_Thaw]] [[System]] [[SOFlow]] [[Session$]] | ||
*[[Tan]] [[To]] [[Trace]] [[Trim$]] [[Time]] [[Time$]] [[Timer]] | *[[Tan]] [[To]] [[Trace]] [[Trim$]] [[Time]] [[Time$]] [[Timer]] | ||
* | *[[UDim]] [[UnHex$]] [[UprC$]] [[Use]] [[Using]] [[Until]] | ||
*[[Val]] [[Variable$]] [[Version]] | *[[Val]] [[Variable$]] [[Version]] | ||
*[[WSID$]] [[WBVersion$]] [[Wait]] [[While]] | *[[WSID$]] [[WBVersion$]] [[Wait]] [[While]] | ||
*[[XLate$ | *[[XLate$]] | ||
====Logic Flow and File IO==== | ====Logic Flow and File IO==== | ||
Line 35: | Line 35: | ||
*[[Close]] [[Continue]] [[Chain]] [[Conv]] | *[[Close]] [[Continue]] [[Chain]] [[Conv]] | ||
*[[Err | *[[Err]] [[Execute]] [[Error]] [[End]] [[EoF]] [[Else]] [[Execute]] | ||
*[[For]] | *[[For]] | ||
*[[GoSub]] [[GoTo]] | *[[GoSub]] [[GoTo]] | ||
Line 43: | Line 43: | ||
*[[NoKey]] [[None]] [[NoRec]] [[Next]] | *[[NoKey]] [[None]] [[NoRec]] [[Next]] | ||
*[[On]] [[Open]] [[Option]] | *[[On]] [[Open]] [[Option]] | ||
*[[RInput]] [[Read]] [[ReWrite]] [[Return]] [[ReRead]] [[Restore]] [[Retry]] [[ | *[[RInput]] [[Read]] [[ReWrite]] [[Return]] [[ReRead]] [[Restore]] [[Retry]] [[RInput]] | ||
*[[Select]] [[Stop]] | *[[Select]] [[Stop]] | ||
*[[Then]] [[TimeOut]] | *[[Then]] [[TimeOut]] | ||
Line 55: | Line 55: | ||
*[[Break]] | *[[Break]] | ||
*[[Debug]] | *[[Debug]] | ||
*[[Run]] | *[[Run]] | ||
*[[Load]] | *[[Load]] | ||
Line 106: | Line 105: | ||
*[[Insert]] [[Indent]] [[Include]] | *[[Insert]] [[Indent]] [[Include]] | ||
*[[KeyBoard]] [[Keyword]] | *[[KeyBoard]] [[Keyword]] | ||
* | *[[Labels]] [[Lower]] [[Logging]] | ||
*[[MaxRecall]] [[Min_Length]] [[Min_FontSize]] [[Min_Spaces]] [[Mixed]] | *[[MaxRecall]] [[Min_Length]] [[Min_FontSize]] [[Min_Spaces]] [[Mixed]] | ||
*[[Native]] | *[[Native]] | ||
Line 112: | Line 111: | ||
*[[Printer]] [[PrintDir]] | *[[Printer]] [[PrintDir]] | ||
*[[Raised]] [[Rem]] [[RPNStack]] [[Run]] | *[[Raised]] [[Rem]] [[RPNStack]] [[Run]] | ||
* | *[[SpoolCmd]] [[Select]] [[Screen]] [[Substitute]] [[SetEnv]] [[Style]] | ||
*[[Type]] [[TypeAhead]] | *[[Type]] [[TypeAhead]] | ||
*[[Upper_Case]] [[Upper]] [[Underscore | *[[Upper_Case]] [[Upper]] [[Underscore]] | ||
*[[WBServer]] [[WorkStack]] [[WSID]] | *[[WBServer]] [[WorkStack]] [[WSID]] | ||
Line 127: | Line 126: | ||
The use of these words within BR! programs does not directly affect the flow of logic. | The use of these words within BR! programs does not directly affect the flow of logic. | ||
*[[Abs]] [[AIdx]] [[And]] [[Atn]] [[All]] | *[[Abs]] [[AIdx]] [[And]] [[Atn]] [[All]] | ||
*[[Base]] [[Bell | *[[Base]] [[Bell]] [[Border]] [[Buttons]] [[Border]] | ||
*[[CEIL]] [[Chr$]] [[CmdKey]] [[Cnt]] [[Cnvrt$]] [[CODE]] [[COS]] [[CurCol]] [[CurFld]] [[ | *[[CEIL]] [[Chr$]] [[CmdKey]] [[Cnt]] [[Cnvrt$]] [[CODE]] [[COS]] [[CurCol]] [[CurFld]] [[CurRow]] [[Config]] [[Clear]] | ||
*[[Data]] [[Date]] [[Date$]] [[Days]] [[Delete]] [[DIDX]] [[Display | *[[Data]] [[Date]] [[Date$]] [[Days]] [[Delete]] [[DIDX]] [[Display]] [[DupKeys]] | ||
* | *[[Env$]] [[Exists]] [[Exit]] [[EXP]] [[External]] [[Echo]] | ||
*[[Fields]] [[File]] [[File$]] [[FileNum]] [[Form]] [[FP]] [[FreeSp | *[[Fields]] [[File]] [[File$]] [[FileNum]] [[Form]] [[FP]] [[FreeSp]] [[FKey]] [[Font]] | ||
* | *[[GUI]] | ||
*[[Help$]] [[Hex$]] | *[[Help$]] [[Hex$]] | ||
* | *[[INF]] [[INT]] [[Internal]] [[IP]] [[Index]] | ||
*[[KLn]] [[KPs]] [[KRec]] [[KStat$]] [[Keyed]] [[Key]] | *[[KLn]] [[KPs]] [[KRec]] [[KStat$]] [[Keyed]] [[Key]] | ||
*[[Len]] [[Let]] [[Line]] [[Log]] [[LPad$]] [[LRec]] [[LTrm$]] [[LwrC$]] [[List]] [[ | *[[Len]] [[Let]] [[Line]] [[Log]] [[LPad$]] [[LRec]] [[LTrm$]] [[LwrC$]] [[List]] [[Listdupkeys]] | ||
*[[Max]] [[Max$]] [[Min]] [[Min$]] [[Mod]] [[Msg$ | *[[Max]] [[Max$]] [[Min]] [[Min$]] [[Mod]] [[Msg$]] | ||
*[[New]] [[NewPage]] [[Not]] | *[[New]] [[NewPage]] [[Not]] | ||
*[[Or]] [[Ord]] [[OutIn]] [[OutPut]] [[Off]] [[On]] | *[[Or]] [[Ord]] [[OutIn]] [[OutPut]] [[Off]] [[On]] | ||
*[[Pi]] [[Pic$]] [[Pos]] [[Print]] [[Private]] [[ProcIn]] [[Public | *[[Pi]] [[Pic$]] [[Pos]] [[Print]] [[Private]] [[ProcIn]] [[Public]] [[Proc]] [[Print]] [[Program$]] | ||
*[[Randomize]] [[Rec]] [[ReDim]] [[Relative]] [[Resume]] [[RLn]] [[Rnd]] [[Round]] [[RPad$]] [[Rpt$]] [[RTrm$]] [[Release]] [[Replace | *[[Randomize]] [[Rec]] [[ReDim]] [[Relative]] [[Resume]] [[RLn]] [[Rnd]] [[Round]] [[RPad$]] [[Rpt$]] [[RTrm$]] [[Release]] [[Replace]] | ||
*[[Serial | *[[Serial]] [[SGN]] [[Share]] [[Shift]] [[SIN]] [[SQR]] [[Srch]] [[SRep$]] [[Step]] [[Str$]] [[String]] [[Sum]] [[Shr]] [[SubProc]] [[Session$]] [[SetEnv]] [[Status]] | ||
*[[Tan]] [[Time$]] [[To]] [[Trace]] [[Trim$]] | *[[Tan]] [[Time$]] [[To]] [[Trace]] [[Trim$]] | ||
* | *[[UDim]] [[UnHex$]] [[UprC$]] [[Use]] [[Using]] | ||
*[[Val]] | *[[Val]] | ||
*[[WSID$]] | *[[WSID$]] | ||
*[[XLate$ | *[[XLate$]] | ||
====Logic Flow and File IO==== | ====Logic Flow and File IO==== | ||
Line 161: | Line 160: | ||
*[[On]] [[Open]] [[Option]] | *[[On]] [[Open]] [[Option]] | ||
*[[RInput]] [[Read]] [[ReWrite]] [[ReRead]] [[Restore]] [[Retry]] | *[[RInput]] [[Read]] [[ReWrite]] [[ReRead]] [[Restore]] [[Retry]] | ||
*[[Select | *[[Select]] [[System]] [[SubProc]] | ||
*[[Then]] | *[[Then]] | ||
*[[Until]] | *[[Until]] |
Latest revision as of 03:31, 16 October 2015
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 Border Buttons
- CEIL Chr$ CmdKey Cnt Cnvrt$ CoS CurCol CurFld CurPos CurRow CForm$ Code CurTab
- Data Date Date$ Days Delete DIdx Display Dim DimOnly
- Env$ Exists Exit Exp External
- Fields File File$ FileNum Form FP FreeSp FKey Free Fields First
- Help$ Hex$ Help
- Inf Int Internal IP
- 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
- Pi Pic$ Pos Print Private ProcIn Public Prior Program$
- Randomize Rec ReDim Relative RLn Rnd Round RPad$ Rpt$ RTrm$ Release Reserve
- Serial Sgn Shr Shift Sin Sqr Srch SRep$ Step Str$ String Sum Search Same Sleep SetEnv Scr_Freeze Scr_Thaw System SOFlow Session$
- Tan To Trace Trim$ Time Time$ Timer
- UDim UnHex$ UprC$ Use Using Until
- Val Variable$ Version
- WSID$ WBVersion$ Wait While
- XLate$
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 Execute Error End EoF Else Execute
- For
- GoSub GoTo
- Input IOErr
- Library LInput
- Mat
- NoKey None NoRec Next
- On Open Option
- RInput Read ReWrite Return ReRead Restore Retry RInput
- 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
- Labels Lower Logging
- MaxRecall Min_Length Min_FontSize Min_Spaces Mixed
- Native
- On Off Option OnQPath OpenDflt
- Printer PrintDir
- Raised Rem RPNStack Run
- SpoolCmd Select Screen Substitute SetEnv Style
- Type TypeAhead
- Upper_Case Upper Underscore
- 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 Border Buttons Border
- CEIL Chr$ CmdKey Cnt Cnvrt$ CODE COS CurCol CurFld CurRow Config Clear
- Data Date Date$ Days Delete DIDX Display DupKeys
- Env$ Exists Exit EXP External Echo
- Fields File File$ FileNum Form FP FreeSp FKey Font
- GUI
- Help$ Hex$
- INF INT Internal IP 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 Proc Print Program$
- Randomize Rec ReDim Relative Resume RLn Rnd Round RPad$ Rpt$ RTrm$ Release Replace
- Serial SGN Share Shift SIN SQR Srch SRep$ Step Str$ String Sum Shr SubProc Session$ SetEnv Status
- Tan Time$ To Trace Trim$
- UDim UnHex$ UprC$ Use Using
- Val
- WSID$
- XLate$
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 System SubProc
- Then
- Until
- Write While
Paragraph Labels
- Words that begin with a colon ([[:]]) as the first character of the line