[Stackoverflow] [Progress OpenEdge ABL] Forwarding include file parameters to another included include file in Progress

Status
Not open for further replies.
W

W0lfw00ds

Guest
Lets say I have two .i files where one includes the other one. The first one must pass it's parameters to the second one. Is this possible in Progress?

myprocedure.p

Code:
GLOBAL-DEFINE XFunctionDataType INTEGER

{ myfunction.i &FunctionDataType={&XFunctionDataType} }

myfunction.i

Code:
FUNCTION myFunction1 RETURNS {&FunctionDataType} ():

    { myvariable.i &VariableDataType=&FunctionDataType }

    RETURN myvar.
END.

myvariable.i:

Code:
myvar AS {&VariableDataType} NO-UNDO.

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