Include

From BR Wiki
Revision as of 18:13, 19 September 2014 by Laura (talk | contribs)
Jump to navigation Jump to search

The Include BRConfig.sys specification may be used to specify the name of a file that contains additional BRConfig.sys information. The syntax is as follows:

An unlimited number of INCLUDE specifications may be used in the BRConfig.sys file and its related INCLUDE files. INCLUDE specifications may be nested up to 10 levels deep.

INCLUDE may be used in conjunction with the BRConfig.sys environment variable call to specify different configuration files for each user. For example, after all the common BRConfig.sys specifications, specify the following:

INCLUDE %USER%  ! include printer statements file according to USER

You can then set up different printer files for each user. Just be sure to set the variable USER to the desired filename (at the operating system level) before starting Business Rules!.

BRconfig.sys INCLUDE statements are relative to the location of the file containing the INCLUDE statement (the parent). CONFIG command INCLUDE statements are relative to the current directory at the time the command is issued.

This is not available in BR 3.9 and before.