Fast Track 2.5

From BR Wiki
Jump to navigation Jump to search

PROC

Procedure files are simply text files that list programs which are to be run in order. They can include additional commands, variables to pass on, and statements if necessary. Proc files can be run from within a program using EXECUTE “proc name” or Chain “proc name”. CHAIN by itself can have a similar effect by running another program from within the current one.

An example of a PROC (or procedure) file, called EndMonth could be:

LOAD TRANSLST
RUN
LOAD SUMRYLST
RUN
LOAD GLTRANSF
RUN
LOAD NEWMONTH
RUN

To run the EndMonth proc from a program, simply include the line:

11010 Execute "PROC EndMonth" 

or

11010 Chain "EndMonth"