Fast Track 2.5: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "====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...")
 
 
Line 2: Line 2:


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.  
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"


<noinclude>
<noinclude>
[[Category:Fast Track Tutorial]]
[[Category:Fast Track Tutorial]]
</noinclude>
</noinclude>

Latest revision as of 19:21, 10 September 2014

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"