How the sequence lines in overlay design are executed

The execution order is of the sequence lines is depending on the type of the line. They are executed in this order:

1st.

Frames, Lines, Text (option 5), Print-info, Ink, Images, PCL-files, HP/GL-files

 

and Suboverlays.

 

 

2nd.

9=Remap Window

 

 

3rd.

?=If..Then

 

 

Last

8=Tabulator

 

 

Normally it is not necessary to remember this order, but when you mix them you could get a problem: If you specify to blank out remapped text by use of option 9=Remap Window, then you cannot use the text for a condition in If..Then. This can be solved by not blanking out the text in the Remap Window and instead insert an 8=Tabulator to tabulate the text out of the page after the If..Then has been executed.

If you have several ?=If..Then lines, remapping the same line(s), then only the last condition met will have the lines remapped. The other conditional overlays are executed, but no lines are transferred.

M WARNING M

A deviation from the rules above are seen if you transfer 2 or more lines to a sub-

overlay by use of If..Then. The second and following lines are transferred first - even before any Remap Windows in the main overlay are executed.

G NOTE G

Ink lines in the main overlay will have no effect in conditioned sub-overlays (called by

If..Then).

G NOTE G

If you use absolute positioning for the sub-overlay called by If..Then you will notice this:

Tabulators in the sub-overlay are unaffected by the positioning of the sub-overlay.

Remap Windows in the sub-overlay add the vertical position specified in the If..Then command whereas the horizontal position is ignored.

J TIP J

Regarding design of Zebra overlays: If you want to insert text, frames or images in

reverse i.e. white on black background you can do it by first adding a frame with black

filling (=pattern) and then place the text or image on top of the black frame (without

specifying white in an Ink command). In this manner you reverse the part of the text or image, that overlaps the black frame.

74User’s Manual for InterForm400®

Page 74
Image 74
Intermate iSeries, i5, AS/400 manual How the sequence lines in overlay design are executed, If..Then