Line-By-Line Comments - Epson FX-80 User Manual

Hide thumbs Also See for FX-80:
Table of Contents

Advertisement

Line-by-line comments
Line 170 prints STRATA SOFTWARE in Master Select Mode 56.
Lines 180 and 190 set vertical and horizontal tab stops.
Line 200 stores the tab command in H$ and prints STATEMENT in
expanded print.
Line 210 prints the second and third lines of the logo.
Lines 220-250 print more of the logo and the address in various mode
combinations.
Line 260 sets new horizontal tab stops.
Line 270 sets some variables for the box subroutine at 500. That rou-
tine prints the box in the upper right comer of the sheet.
Line 280 does a vertical tab, then prints a string of 21 underline charac-
ters (ASCII 95) via subroutine 800.
Line 290 prints the subscripted AMOUNT REMITTED.
Line 300 sets new horizontal tab stops.
Line 310 does two vertical tabs then prints a superscripted message.
Line 320 cancels scripts and prints 80 hyphens with subroutine 800.
Line 330 calls the box routine.
Line 340 sets new horizontal tabs.
Line 350 calls the box routine.
Line 360 sets new horizontal tabs.
Line 370 prints STRATA SOFTWARE in a different print mode.
Line 380 thanks us in italic characters.
Line 390 resets all modes and stops the program.
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:
C -
the number of cells
H -
the height of the cells
F -
a flag for shading the headings
FT -
a flag that allows a horizontal tab to adjust the left margin
of the box.
235

Advertisement

Table of Contents
loading

Table of Contents