12. Report-Writer Statements : Column and Block Statements : .Top Statement--Make Current Line the Top Line : Example
 
Share this page                  
Example
Assume the following sequence of Report-Writer statements:
.block
        .print 'Line 1' .newline
        .print 'Line 2' .newline
        .top
        .tab + 2 .pr 'more line 1' .newline
.endblock
You would get the following output:
Line 1  more line 1
Line 2