Figure 12-1. STRATA layout
In most cases the program reads a number greater than or equal to
zero and sends it to the printer (line 620). Control then returns to line
610, which reads the next number.
If N is negative, the program bypasses the LPRINT
in
line 620 and
goes on to line 630. Negative numbers in the DATA lines represent
repeat factors as they did in the last chapter, but the repeat routine is
slightly different. This program repeats numbers in pairs:
630
READ P,R: FOR J=l TO -N:
LPRINT CHR$(P)CHR$(R);: NEXT J
640
GOT0
610
For example, when the negative 16 in line 800 is read into N, control
passes to line 630. Line 630 reads the next two numbers (16 and 64)
into P and R and prints them 16 times. Control then returns to line
610, which reads the next number.
161
Содержание FX-80
Страница 1: ......
Страница 16: ...17 1 17 2 17 3 17 4 Barchart Program for BARCHART Statement form Program for STATEMENT 228 230 232 234 xvi ...
Страница 22: ......
Страница 23: ......
Страница 26: ......
Страница 31: ...Figure 1 1 The FX 80 and FX 100 printers 14 ...
Страница 32: ...Figure 1 2 Printer parts 1 5 ...
Страница 38: ...Figure 1 8 DIP switch vent 21 ...
Страница 42: ...Figure 1 11 Ribbon insertion 25 ...
Страница 51: ...Figure 1 20 Paper thickness adjustment 34 ...
Страница 85: ......
Страница 92: ......
Страница 95: ......
Страница 97: ...80 ...
Страница 109: ......
Страница 117: ...Figure 7 3 Staggering STAIR STEPS 100 ...
Страница 119: ...Table 7 1 Line spacing commands 102 ...
Страница 129: ...112 ...
Страница 147: ...130 ...
Страница 181: ...Figure 12 4 Corner of the FX 80 design ...
Страница 189: ...Figure 12 10 Most distinct version Figure 12 11 Reversed version 172 ...
Страница 215: ...198 ...
Страница 231: ...214 ...
Страница 249: ......
Страница 268: ...W Width of characters 256 270 statements 313 314 Word processing 36 321 322 Z Zero slashed 23 251 ...
Страница 269: ......
Страница 272: ...iv ...
Страница 283: ......
Страница 290: ......
Страница 305: ...282 ...
Страница 311: ...288 ...
Страница 323: ...300 ...
Страница 339: ......
Страница 343: ...320 ...
Страница 349: ...326 ...
Страница 353: ...330 ...
Страница 354: ...Schematic 331 ...
Страница 371: ...w Width of characters 256 270 statements 313 314 Word processing 36 321 322 Zero slashed 23 Z 349 ...