ChainDflt

From BR Wiki
Revision as of 22:38, 26 March 2013 by Laura (talk | contribs) (Created page with "The '''ChainDflt''' BRConfig.sys specification instructs the system to look for .BRO extensions before .BR extensions in file names. ====Comments and Examples==== When yo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The ChainDflt BRConfig.sys specification instructs the system to look for .BRO extensions before .BR extensions in file names.

Comments and Examples

When you specify a program name in a CHAIN statement or LOAD command without indicating an extension, Business Rules! automatically assumes the extension is .BR unless you end the program name with a period, in which case Business Rules! assumes there is no extension. For example, if you specify PROG1, Business Rules! looks for a file with the name PROG1.BR. If it finds no file with that name, the system then looks for a file with the extension .BRO (an object file). The CHAINDFLT specification tells Business Rules! to look for a file with the .BRO extension before looking for one with the .BR extension.

Start-up Default

When no period and extension are specified in a file name, BR searches first for a file by the given name and a .BR extension. If no match occurs, it searches for a file by the given name and a .BRO extension.

Technical

1.) The CONFIG command can be used during program execution to override the BRConfig.sys file's CHAINDFLT specification.