Examples of ZPrint

Example:

    GTM>ZPRINT X^RTN
    

This example displays the line beginning with the label X in the routine RTN.

Example:

    GTM>ZPRINT X^RTN:X+5
    GTM>ZPRINT X+-5^RTN:X
    GTM>ZPRINT X^RTN:X+-5^RTN
    

The first line displays the line beginning with the label X and the next 5 lines in routine RTN. The second line displays the 5 lines preceding label X in the same routine and the line beginning with label X. The third line generates a run-time error because the routine name must appear only before the colon in the argument.