LOAD

Top  Previous  Next

LOAD

 

Syntax

 

load filename

 

Description

 

The load keyword is used to load a secondary text file into the rule file at parsing time, at the position of the load keyword.  This provides the ability to maintain separate text files for the definitions, grouped in any manner desired.  For example, a common set of options for all reports could be defined in a second file, and each report could reference that file.

 

UnForm will try to open the file first as named, then in the UnForm directory if it is not found.  Note that the prefix setting, if present, in UnForm's config.unf file can be used to affect file searching.

 

Example:

 

[Report1]

load "stdoptions.txt"