Keyword Abbreviation

From BR Wiki
Revision as of 23:22, 8 January 2013 by Laura (talk | contribs)
Jump to navigation Jump to search

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.

Command Abbreviations

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

Go End

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)