Variable horizontal tabs

You can change the default horizontal tab settings by specifying new tab stops. To do this, use the format:

CHR$(27)"D"CHR$(n 1) . . . CHR$(nk)CHR$(O)

where n1 and nk stand for the first and last of a series of new tab stops, and the CHR$(0) informs the printer that you are through setting tabs. The FX can store up to 32 tab stops; you may specify one or all of these. You may also add stops to one or more of the default tabs, as in the next version of your current program.

Delete lines 40 through 90 and add:

40 LPRINT CHR$(27)"D"CHR$(6)CHR$(12)CHR$(20)CHR$(0); 50 LPRINT H$;"ONE";H$;"TWO";H$;"END"

RUN it to see if you get the results of Figure 9-8.Figure 9-8. Variable horizontal tabs

In line 40 you set new tab stops at 6, 12, and 20, terminating the setting process with CHR$(0). The H$ sends the tabbing command.

For your horizontal tab settings, you cannot use a number larger than the one that represents the last column of the page. If you have not reset the margins, for the FX-80 this is:

79 in Pica, 95 in Elite, and 131 in Compressed.

121