PROC Compiler vs INCLUDE files


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Robert G Laurin on July 31, 2014 at 12:25:14:

I am trying to compile a program that has an INCLUDE file that has bunch of standard code that I would normally use to access the SQL driver.

This include file uses one SUBROUTINE() that is coded in the same INCLUDE file.

I am having problems with the END and ENDUSE.

If I use END in my INCLUDE file, the remainder of the program does not compile - thus errors

If use ENDUSE in my INCLUDE file, the SUBROUTINE does not compile (* read below for further COMPILE issues).

I use the .IF DECPASS and .IF EXECPASS in my INCLUDE file that contains both declaratives and executables.

How can I declare SUBROUTINEs in an INCLUDE file? Is there a compiler flag for PROCPASS ? How do I do this ??

* Further problem with COMPILER:
When I compile from UEStudio, compiler reports 0 error but I get a seq file.
If I compile from IB within Comet I get an Undefined Proc Error - 80


Tested with Comet32 2013.480. Rel 14.03, Utl 14.01 on Windows 7 Pro x64.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

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

Comments:

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 ] [ Signature.net Forum ]