Posted by Barbara Brazil on August 16, 2016 at 13:23:13:
In Reply to: Re: DECPASS vs EXEPASS vs PROCs posted by Robert G Laurin on August 16, 2016 at 07:39:15:
Robert:
We're not sure we understand your question. You can conditionally compile in procs like this:
!Main Proc
! Declaratives
SET doprocs = 1
.if doprocs ! Declare the procs
subroutine ProcA(a$)
subroutine ProcB(b$)
.endif
! Executable
clear
end ! End of Main Proc
.if doprocs ! Define procs
subroutine ProcA(a$)
...
end
subroutine ProcB(b$)
...
end
.endif
Depending on whether doprocs is SET or not, you can control whether the procs get included
As far as your other question, you do need to use .ELSE to test for the opposite of .IF.
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.