Deciphering the box routine in lines 500 through 660 is left as an exercise for you. The following hints will get you started.

The subroutine at 500 is used to create three boxes of different sizes and characteristics, using the line-graphics characters. The data stored in lines 1300 to 1370 determine which line-graphics characters are used to print the boxes, the width of each cell, and the headings.

The variables sent to the subroutine are:Cthe number of cellsH the height of the cellsF a flag for shading the headingsFT a flag that allows a horizontal tab to adjust the left margin of the box.999 REM: The End

In this chapter we developed a program that uses many of the features of the FX printer. The program demonstrates the tremendous potential of the powerful tool you have at your beck and call. We hope it inspires you to use the FX printer in many creative ways to enhance your own programming applications.

238