Epson FX-185 User Manual - Page 113
For X=0 To 24, Lprint Tabxstairchr$27achr$x+128, Next X, Lprint Chr$272,
View all Epson FX-185 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 113 highlights
To show what varying n can mean, the following program increases the line spacing by one dot's worth on each line feed: 20 FOR X=0 TO 24 30 LPRINT TAB(X)"STAIR"CHR$(27)"A"CHR$(X+128) STEPS" 40 NEXT X 50 LPRINT CHR$(27)"2" Figure 7-2. Cascading STAIR STEPS Figure 7-2 shows that the loop in line 20 and the ESCape "A" command in line 30 gradually increase the line spacing. Because many computer systems have difficulty with one or more numbers below 13 in character-string commands, we have used X+128 in the linespacing command to avoid those problems. 96
To show what varying n can mean, the following program increases
the line spacing by one dot’s worth on each line feed:
20
FOR X=0 TO 24
30 LPRINT TAB(X)"STAIR"CHR$(27)"A"CHR$(X+128)
STEPS"
40 NEXT X
50 LPRINT CHR$(27)"2"
Figure
7-2.
Cascading STAIR STEPS
Figure 7-2 shows that the loop in line 20 and the ESCape “A” com-
mand in line 30 gradually increase the line spacing. Because many
computer systems have difficulty with one or more numbers below
13
in character-string commands, we have used X+128 in the line-
spacing command to avoid those problems.
96