Posted by Robert G Laurin on August 01, 2014 at 07:11:28:
In Reply to: Re: PROC Compiler vs INCLUDE files posted by Barbara Brazil on July 31, 2014 at 13:29:56:
In the example MOBVIEW.IBS the Include is after the END statement.
My INCLUDE file has declaratives some executables and one SUBROUTINE.
The SUBROUTINE in the INCLUDE will not compile without an explicit END at the end of my code. With an END in my INCLUDE, the rest of the program will not compile. Tried an ENDUSE but then the SUBROUTINE does not compile.
What if I have multiple INCLUDE files that have their own little SUBROUTINEs ? I am pretty sure I will once I get used to them.
What about a third compiler pass for procedures like PROCPASS or SUBPASS ? Would be easy to trigger if any SUBROUTINE, NUMERIC or STRING are declared.
Post a Followup
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.