Re: PROC Compiler vs INCLUDE files

[ Follow Ups ] [ Post Followup ] [ Forum ]

Posted by Barbara Brazil on August 01, 2014 at 08:21:16:

In Reply to: Re: PROC Compiler vs INCLUDE files posted by Robert G Laurin on August 01, 2014 at 07:11:28:


Each proc is really a separate program. It must end with an END statement. Therefore, procs should not be in the same include file as any executable code that's not part of a proc. The include statement for the executable part of the proc must be after the END statement in your main program.

In the Main program:
include "" ! this is for the proc declarations
... declarations for Main program
... executable code for Main program
include "" ! this is the executable code for the procs (the proc definition)

... proc declarations and any other variable/FORMAT declarations that will be global to the Main program and all procs
... proc definitions, each concluded with an END statement

Follow Ups:

Post a Followup



What is the name of the main Signature System's Product?  


Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):

Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.

[ Follow Ups ] [ Post Followup ] [ Forum ]