Modifying Device Designs › Editing Report Designs › Linking Print Functions
Linking Print Functions
Embedding PRTOBJ functions is subject to the following rules:
- You can insert PRTOBJ functions before or after some of the formats in a report function. More than one PRTOBJ function can be inserted at each point.
- Indentation of embedded PRTOBJ report segments (function indentation) is relative with respect to the baseline of the function. However, the indentation of formats within the PRTOBJ function may be absolute with respect to the left-hand margin of the complete report. The function indentation is a property of the calling function. Thus, the same PRTOBJ function can be used in two different PRTFIL functions with a different function indentation in each.
- You can embed PRTOBJ functions within other PRTOBJ functions.
- A PRTOBJ function can be used in more than one other PRTFIL or PRTOBJ function. A given PRTOBJ function can appear more than once in a given PRTFIL function but it cannot be called recursively. For example, a PRTOBJ function must not call itself either directly or indirectly.