[progress Communities] [progress Openedge Abl] Forum Post: Re: Super-procedure

  • Thread starter Thread starter smat-consulting
  • Start date Start date
Status
Not open for further replies.
S

smat-consulting

Guest
getting the procedure handle reliably is a bit of a pain. Not sure what you re trying to do, but here's the include-file I use in ally procedures to link the required super-procedures like this: { sys/inc/startSuper.i } RUN start-super-proc("xyz/abc/p"). RUN start-super-proc("xyz/efg.p"). If the procedure is already in memory (i.e. started persistently by another .p) I simply use the handle of the running procedure. If it is not yet running, I start it, and use that handle. I don't see how I can attach a file to this message, so I placed it for you here: www.smat-consulting.com/.../startSuper.i Note: if you include - for testing purposes - the following statement right after the RUN start-super-proc statements, it'll display all the super-procedures of this particular .p with their handles. RUN displaySuperProcedures Sorry about the men commented out code-segments. This file has grown over the last almost 20 years - and I encountered several "undocumented features" in various versions, and had to find a way to identify and work around them.

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