12. Report-Writer Statements : Text Positioning Statements : .Center Statement--Center the Text : Examples
 
Share this page                  
Examples
1. Output the date centered on the page.
.center
.print 'Report Executed On:', current_date
2. Output a heading for a column centered above the value of that column, where the column is the delimited identifier, bank balance.
.position "bank balance" (20)
.format "bank balance"('+++,+++.nn')
        ...
.center "bank balance" .print 'Balance'
        ...
.detail
        ...
    .tab "bank balance" .print bal ...