Yes, add all the possible labels because I don't think you can have a parameterised label.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 06, 2013, 05:24 AM
Danny-SRL
Piter, As far as I know, when you -INCLUDE as fex all labels are at first treated as local, meaning that WF will search the -INCLUDEd fex for labels. If a label is not found, then it will look in the calling fex. See the following example. The calling fex:
-SET &ECHO=ALL;
-* File piter01.fex
TABLE FILE CAR
PRINT COUNTRY
ON TABLE HOLD AS PITER FORMAT ALPHA
END
-RUN
-SET &R=&LINES;
-REPEAT #GETCOUNTRY FOR &I FROM 1 TO &R;
-READFILE PITER
-INCLUDE PITER00
-#GETCOUNTRY
-TYPE DONE
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
November 06, 2013, 06:51 AM
Piter
thanks, Daniel. Your case is clear. I was asking about dynamic labels and seems it is also clear - like Francis wrote - WF do not do "precompile" and will not understand 'future' dynamic labels