W
W0lfw00ds
Guest
Lets say I have two
myprocedure.p
myfunction.i
myvariable.i:
Continue reading...
.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...