CHR$(1) can use an alternative form for this pair. For continuous Expanded, and for the other modes which use CHR$(1) and CHR$(0) as a toggle switch, you can use an abbreviation. Here, for example, you can use:

LPRINT CHR$(27)"W"CHR$(1)

or you can use:

LPRINT CHR$(27)"W1"

for the same result.

Expanded Mode works equally well with any of the three basic pitches. Type and RUN this program:

NEW

10 LPRINT "YOU CAN PRINT EXPANDED:"20 LPRINT CHR$(27)"W1PICA"30 LPRINT CHR$(15)"COMPRESSED"40 LPRINT CHR$(27)"MAND ELITE"50 LPRINT CHR$(27)"@CHARACTERS"

Most of the FX modes stay on continuously, and so your program must turn off each mode when you are finished with it. We tell you about the few exceptions to this rule-such as the CHR$(14) version of Expanded-as they come up.

Multiple print pitches on one line

Suppose that you want to emphasize just one word within a line by printing it in a different pitch. The following program shows how it can be done:

10

LPRINT "YOU CAN MIX:

 

20 LPRINT "PICAP

 

 

30 LPRINT CHR$(14)"EXPANDED,"

40

LPRINT

CHR$(20)CHR$(15)

COMPRESSED";

50

LPRINT

CHR$(14)EXPANDED,";

60

LPRINT CHR$(20)CHR$(27)"M AND ELITEP

70

LPRINT CHR$(14) "EXPANDED"

 

80

LPRINT

CHR$(27)"@CHARACTERS ON THE SAME LINE'

58