Combining TOTAL, GRAND-TOTAL, and BREAK-ON

The following example illustrates the use of TOTAL and GRAND-TOTAL in conjunction with BREAK-ON.

In this example:

:SORT GUESTS WITH BILL-TOTAL > "245.00" BY ROOM BILL-CODE 
BILL-AMOUNT BILL-DESC BREAK-ON ROOM "'L'" TOTAL BILL-TOTAL 
GRAND-TOTAL "Total:" HDR-SUPP

GUESTS  Bill   Amount.. Description.. Room..  Bill Total
        Code
               *  
411        2   $93.00   Room          411     $249.76
          10   $45.00   Rest.(Bar)         
           2   $93.00   Room
           4   $18.76   Breakfast
                                      ***     $249.76
535        2   $98.00   Room          535     $281.42
          13   $45.00   Bar (2)
          15   $33.77   Telephone
           2   $98.00   Room
           5    $6.65   Lunch
                                      ***     $281.42
Total:                                        $531.18