Download Print this page

Commodore 64 User Manual page 52

Hide thumbs Also See for COMMODORE 64:

Advertisement

COLORS IN THE QUOTE MODE
TR L
As mentioned earlier in this chapter, certain
keys will leave a symbol not otherwise dis
played when typed after one (or an odd num
ber of) quotation mark(s). Type the following
program now to see some of these symbols
display in the Quote Mode. Then, when you
run the program, you will see the effect that
these keys have. NOTE: Type the lines exactly
as they are printed here, except do not type in
the brackets or the instructions inside the
brackets; when you get to the brackets, simply
press the C "RL key with the number key indi
cated. Then finish typing the line. Be sure to
press the RETURN key after you finish typing
each numbered command line.
10 ?"[use C
II and 1JTHIS IS BLACK"
20 ?"[use C
IL and 3JTHIS IS RED"
30 ?"[use C
JL and 5JTHIS IS PURPLE"
40 ?"[use C
H. and 6JTH1S IS GREEN"
If you have a 64 computer, add the following
lines. Again, do not type the brackets or the
instructions inside the brackets; simply press
the C = key with the number key indicated.
Press RETURN after each numbered line.
50 ?"[use C - and 2]THIS IS BROWN"
60 ?"[use C - and 4JTHIS IS GREY 1"
70 T'[use C = and 5JTHIS IS GREY 2"
As you can see, although the symbols appear
in the command lines, the text has not changed.
SCREENS 1 and 2
However, as soon as you run the program,
you will be in for a surprise. Run the program
now by typing the word RUN and pressing
the RETURN key. Each line has changed to the
color whose combination you typed!
SCREENS 3 and 4
To return to the computer's original color now
and to wipe this program out of your com
puter's memory, turn your computer OFF and
then back ON again. When the sign-on mes
sage appears, clear the screen by using SHIFT
plus the CLR/HOME key.
■t
;-;
s e
3 0
-4rt
"5> * ■
K > r
5th
Ith
fllH
. ■-:-
I S
! ■=■
i
;:
IS
ELftCK'
IS
RED-
IS
PURPLI
IS
GREEN1
SCREEN 1
Pressing CTRL plus a number key displays a
graphics symbol In the Quote Mode.
w
SCREEN 2
On the 64, pressing C= plus a number key
displays additional symbols In Quote Mode.
-'■■ 1-1
:.
-J^t
"i>
•5>
RUM
TH IS
TH
TH
I ^5
1 S
■ rH I S
"HTH I S
"Ith is
1 *■■ IH J ■—;
i ■;-
i
...
i S
IS
BLACK
I S
R E D
r-' --r
BLACK"
!-■ I..1 RPLE
3re:e:m-
_
^
SCREEN 3
When you run the program on the VIC, each
line changes to Its new color.
-
~
■—«<
^
-
SCREEN 4
Running the program on the 64 displays
lines of additional colors.
C= key
CONTROL key • QUOTATION MARK key
so
^
J

Advertisement

loading

Related Products for Commodore COMMODORE 64

This manual is also suitable for:

Vic 20