A SERVICE OF

logo

Expanded print set with CHR$(14) is automatically canceled
at the end of the line. This is convenient in many applications,
such as for one line titles. Note that you don’t need to put an
< ESC > in front of the CHR$( 14), although < ESC > CHR$( 14)
works just the same.
You can also cancel one line expanded print before a carriage
return with CHR$(20), as done in line 50.
Sometimes you may wish to stay in expanded print for more
than one line. Change your program to this*
10 'Demo permanent expanded mode
20 LPRINT CHR$(27) "W" CHR$(l) ; 'Expanded mode on
permanently.
30 LPRINT "Permanent expanded"
44) LPRINT "mode stays on until"
50 LPRINT "it is w ;
6Q LPRINT CHR$(27) "W" CHR$(fl) ; 'Expanded mode off.
70 LPRINT "turned off."
Now the results look like this:
F’~rmea17ent
expanded
rn 0 d ez
c,t:z’ly~ al-b ur-ktil
it i?si. turned off .
When you turn on expanded print with < ESC > “W” CHR%( 1)
it stays on until you turn it off with < ESC > “W” CHR!§(O).
Table 5-6
Expanded print commands
Function
Mode Control’ code
One line expanded ON STAR CHR$(14)
or < ESC> CHR$(14)
IBM
CHR$(14)
or <ESC> CHR$(14)
One line expanded OFF
Expanded ON
Expanded OFF
STAR CHR$(20)
IBM
CHR$(20)
STAR <ESC> “w” 1
IBM <ESC> “w” 1
STAR <ESC> “w” 0
IBM
<ESC> “w”0
41