JoseKreif
Member
I've stumbled across a feature while learning some OpenEdge ABL 11.x. One thing I liked was something they refer to as "Procedure Libraries"
You can have ProcLib.p . This procedure file will only have procedures in it. It will not have any code in the main block.
Now you can have Test_ProcLib.p . In this file, you can declare a Handle as add ProcLib.p to it. One done you should be able to call the internal procedures in ProcLib.p.
Here is an example:
I just end up getting this error when trying in 10.2B
"** Unknown Field or Variable name - single-run. (201) "
You can have ProcLib.p . This procedure file will only have procedures in it. It will not have any code in the main block.
Now you can have Test_ProcLib.p . In this file, you can declare a Handle as add ProcLib.p to it. One done you should be able to call the internal procedures in ProcLib.p.
Here is an example:
Code:
def var hProc as handle no-undo.
run [dir]/ProcLib single-run set hProc.
run someProcedure in hProc (input someVariable).
I just end up getting this error when trying in 10.2B
"** Unknown Field or Variable name - single-run. (201) "