a progress usage question

bianjt

New Member
Excuse me. I'm a newer.I got a problem about Progress.
Example:
IF is_wiplottrace_enabled() AND is_woparent_wiplot_traced(wo_lot) THEN DO:
IF NOT CAN-FIND(wr_route where wr_lot = wo_lot and wr_op = wo-op) THEN DO:
{pxmsg.i &MSGNUM=511 &ERRORLEVEL=1}
{pxmsg.i &MSGNUM=8471 &ERRORLEVEL=1}
NEXT-PROMPT wo-op WITH FRAME a.
UNDO, RETRY.
END.
END.

In this example,
what does the function is_wiplottrace_enabled() and is_woparent_wiplot_traced(wo_lot) mean? How to use it?
 
Version??

Not sure of the question , though from my Progress knowledge I will try.
is_wiplottrace_enabled() is an old method for naming. Underscores are no longer used, instead a Change of Case is used to make var Names more readable.
 
Apart form naming conventions:

is_wiplottrace_enabled and is_woparent_wiplot_traced are UDF's, you should be able to find them in your source code. The functions have to be declared in either a super procedure, which might or might not be available in your application, or they must be defined somewhere in the procedure you're running.

So do a search for these functions and you should be able to figure out what they are doing.

Regards,

casper.
 
Back
Top