Keyword Abbreviation: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "Keyword Abbreviations Primary and secondary keywords can be abbreviated on input, thereby increasing programmer productivity. Primary keywords are the names of statements and...")
 
No edit summary
Line 17: Line 17:


Alert (AL)
Alert (AL)
Auto (AU)
Auto (AU)
Break
Break
ChDir (CH or CD)
ChDir (CH or CD)
Clear (CL)
Clear (CL)
Config (CON)
Config (CON)
Copy (COP)
Copy (COP)
Date (DA)
Date (DA)
Del (DE)
Del (DE)
Dir (DI)
Dir (DI)
Display
Display
Drop (DR)
Drop (DR)
Edit (ED)
Edit (ED)
Free (FR)
Free (FR)
Go
Go
Index
Index
List (LIS)
List (LIS)
Load (LO)
Load (LO)
Merge (ME)
Merge (ME)
MkDir (MK)
MkDir (MK)
Proc
Proc
ProcErr
ProcErr

Revision as of 23:11, 8 January 2013

Keyword Abbreviations

Primary and secondary keywords can be abbreviated on input, thereby increasing programmer productivity. Primary keywords are the names of statements and commands. Secondary keywords are other keywords used in statements (they are always capitalized in syntax diagrams, meaning they must be typed in exactly as is or with an acceptable abbreviation). Lists of the shortest acceptable abbreviations for each of these keywords are included in this APPENDIX.

An abbreviation, which is longer than what is listed is also, accepted. DELETE could be entered as DEL, DELE, or DELET, for instance.

For primary keywords, each abbreviation is unique; the rule for determining the abbreviation is explained below. Secondary keyword abbreviations are not unique; instead, Business Rules uses the context and placement of the keyword to determine its meaning.

Commands

A list of the shortest acceptable abbreviations for command names follows. The full keyword appears with its shortest acceptable abbreviation, if any, directly afterwards.

Caution

Business Rules automatically expands abbreviated keywords only when the abbreviations appear in program statements (not commands or procedures) and only when they are not part of a literal expression. Some future additions to Business Rules may make a few abbreviations invalid, it is strongly recommended that you spell out all keywords which Business Rules won't expand for you when they are to remain a permanent part of your application. This includes all keywords which appear in procedure files, BRConfig.sys file or in the literal expressions of EXECUTE statements.


Alert (AL)

Auto (AU)

Break

ChDir (CH or CD)

Clear (CL)

Config (CON)

Copy (COP)

Date (DA)

Del (DE)

Dir (DI)

Display

Drop (DR)

Edit (ED)

Free (FR)

Go

Index

List (LIS)

Load (LO)

Merge (ME)

MkDir (MK)

Proc ProcErr Protect (PROT) Rename (REN) Renum (RENU) Replace (REP) RmDir (RM) Run (RU) Save (SA) Skip (SK) Sort Status (ST) SubProc (SU) System (SY) Time (TI) Type (TY) Verify (V)