[Stackoverflow] [Progress OpenEdge ABL] Using preprocessor variable as include file parameter in Progress

  • Thread starter Thread starter W0lfw00ds
  • Start date Start date
Status
Not open for further replies.
W

W0lfw00ds

Guest
I'm trying to use SCOPED-DEFINE or GLOBAL-DEFINE preprocessor variable as named input parameter to my .i file.

myprocedure.p:

Code:
&GLOBAL-DEFINE MYDATATYPE INTEGER

{myinclude.i &DATATYPE={&MYDATATYPE} }

myinclude.i:

Code:
DEF VAR data AS &DATATYPE NO-UNDO.

Does Progress support this type of functionality? I'd also like to be able to "forward" include parameters to another include file inside that include.

Continue reading...
 
Status
Not open for further replies.
Back
Top