Table
Horizontal tab commands
Function | Mode Control code |
Advance to next tab position
Settabsatnl, n2, etc.
STAR CHR$(9)
IBM CHRU9)
L | I | \ | I |
STAR < ESC > “D" CHR$(nl)
IBM .z:ESC > “D" CHR$(nZ) CHR$(n2)...CHR$(O)
STAR <ESC> “b” CHR!$(n)
IBM <ESC > “b” CHR$(n)
Note: If your computer does not support lowercase characters, use CHR$(98) for “b.”
SETTING LEFT AND RIGHT MARGINS
The commands | to set the margins | are given in the following table: | |
| Table |
| |
| Left and right margin commands | ||
Function | Mode | Control code | |
SetleftmarginatcolumnII STAR | < ESC > | “M”CHR$(n) | |
| IBM | < ESC > | “1” CHR$(n) |
Setrightmarginatcolumnn STAR < ESC > “Q” CHR$(n) | |||
| IBM | < ESC > “Q” CHR$(n) |
Try setting
10'Demo margins.
241GOSUB 70
30LPRINT CHR$( 27) "M" CHR$( 18) ; 'Left margin = 10.
40LPRINT CHR$(27) "Q" CHR$(7@) ; 'Right margin = 70.
50 GOSUB 70
60END
70FOR I = 1 TO 80
80LPRINT "X" ;
90NEXT I 109,LPRINT
110RETURN
63