Your Commodore - Commodore Is Awesome
Your Commodore - Commodore Is Awesome
Your Commodore - Commodore Is Awesome
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
1<br />
7<br />
ou may have noticed that our<br />
listings are free of those horrible little<br />
black blobs which send you searching<br />
around the keyboard for a suitable<br />
graphic symbol. You may also have<br />
noticed the funny numbers by the side<br />
of each line of the listing. Fret no more,<br />
it's all part of our easy entry aid.<br />
Instead of those nasty graphics and<br />
rows of countless spaces in PRINT<br />
statements and strings we use a special<br />
coding system. The code, or<br />
mnemonic, is always contained in<br />
square brackets and you'll soon learn<br />
to decipher their meanings.<br />
For example, [SA I would mean<br />
type in a Shifted A, or an ace of spades<br />
in layman's terms, and [SA 10] would<br />
mean a row of ten of these symbols.<br />
[S-I-2] means hold down the shift<br />
key and press the plus key twice. It<br />
doesn't take a great leap of logic to<br />
realise that [C+2] means exactly the<br />
same thing except that the <strong>Commodore</strong><br />
key (bottom left of the keyboard)<br />
is held down instead of the shift key.<br />
If more than two spaces appear in a<br />
statement then this will be printed as<br />
[SPC4] or, exceptionally, [SSPC4].<br />
Translated into English this means<br />
press the spacebar four times or in the<br />
latter case hold the shift key down<br />
while you do it.<br />
A string of special characters could<br />
appear as:<br />
[CTRL N, DOWN2,LEFT5,BLUE,<br />
F3,C3]<br />
This would be achieved by holding<br />
Easy Entry C64 01<br />
Listings<br />
Get it right first time with our deluxe program system<br />
for the C64.<br />
down the CTRL key as you press N,<br />
press the cursor key down twice, the<br />
cursor left key five times, press the key<br />
marked BLUE while holdingdown the<br />
CTRL key, press the F3 key and.<br />
finally hold the <strong>Commodore</strong> key down<br />
while pressing the number two key (C2<br />
would of course make the computer<br />
print in brown).<br />
Always remember that you should<br />
only have a row of graphics characters<br />
on your screen with no square brackets<br />
and no commas, unless something like<br />
this appears:<br />
[SS1,(01<br />
In this case the two characters should<br />
have a comma between them.<br />
On rare occasions [REV 1] will<br />
appear in a listing. This is a delete<br />
symbol and is created by entering the<br />
line up to this mnemonic. Then type a<br />
closing quotation mark (SHIFT & 2)<br />
and delete it. This gets the computer<br />
out of quotes mode. Hold down CTRL<br />
and press the number nine key<br />
(RVSON), type the relevant number of<br />
reversed T's and then hold down<br />
CTRL and press zero (RVSOFF).<br />
Next type another quotation mark and<br />
delete it again. Now finish the line and<br />
press RETURN.<br />
A list of these special cases is given<br />
in the table but remember that only<br />
one of these mnemonics will appear<br />
outside of a PRINT string: the symbol<br />
for pi. This may appear when its value<br />
is needed in a calculation so this may<br />
look something like:<br />
YOUR COMMODORE november 1986:38<br />
:CC=2*[P1]•R:<br />
Ignore the square brackets and Just<br />
type in a shifted upward pointing<br />
arrow (ie, the pi symbol).<br />
FACJW<br />
,<br />
AM:<br />
YNTAX CH<br />
:ER *<br />
S Y<br />
61-m/0 t 4 9 1 5 2<br />
N<br />
FOR<br />
T<br />
L=0 TO BLICX.OtFOR D..0 TO<br />
A X :READ A:CY..CX.A:FCCE SA41.3116•<br />
CAtNEXT<br />
D<br />
H READ AllF 40e.CX THENPR/NT"ERP<br />
E IN LINE"11.14<br />
NEXT<br />
C 4 LtSYS 49152<br />
DATA<br />
Y - 17:.5.:,201,1t15,208,31.1<br />
,<br />
E7(L*10): r S<br />
1 T O P<br />
6DATA<br />
/69.7,141.1:4,2.169,17,7<br />
2<br />
9<br />
1 0<br />
,<br />
. DATA 192,14<br />
2 5 5<br />
1.5,72.,88.96,120.16<br />
9<br />
,<br />
169,165.141.5,1566<br />
, DATA :,169. 14.141,174,2,/41.3<br />
20E1.169,6,14<br />
1<br />
6 9<br />
1033t208,811,96,158<br />
,<br />
4<br />
SO 6DATA 4 , 72.1:<br />
/<br />
.<br />
1747<br />
1<br />
,<br />
4 1<br />
.<br />
4,16z.71<br />
7<br />
100 7<br />
4<br />
DATA<br />
2<br />
. 3<br />
2<br />
0,<br />
: 4<br />
9,2746 ,<br />
, ,<br />
,t3e 4.<br />
1<br />
1<br />
0<br />
2<br />
6<br />
1<br />
9<br />
,<br />
2<br />
110 DATA 0,2.240,8.24.101,254,1:<br />
D. o1<br />
-<br />
,<br />
. 0<br />
2<br />
21:4 254.1.7<br />
1<br />
8<br />
6 8<br />
27:,152<br />
6<br />
5120<br />
7,254,1 DATA 2,164,214.172.257,136.1<br />
42<br />
,<br />
4<br />
76 89,<br />
2,21:7 0<br />
/<br />
.<br />
. 4<br />
2<br />
16 17.0 DATA 3 2<br />
5,.. ,<br />
1 1<br />
:<br />
5,<br />
. 2,2060<br />
E1<br />
.<br />
2<br />
,2 2! 1 0 , 2 5 5 .<br />
. 140<br />
16<br />
-<br />
.<br />
1 12 DATA 210,255,16<br />
6 5 , 2 5 4 ,<br />
. 9,<br />
, 1<br />
2<br />
54/<br />
1 , 1<br />
ot, . 1,104.27:1<br />
:<br />
/5 6 .<br />
0<br />
4<br />
192 76<br />
.<br />
0 9 :<br />
8,<br />
.7<br />
, .141,174,2<br />
4<br />
1,76,24,105.7,0,0,0.0.'131<br />
D,<br />
2 ,<br />
2<br />
4<br />
72,<br />
, by Eric Doyle<br />
A2<br />
0 2<br />
=<br />
,<br />
210<br />
2<br />
T5<br />
0<br />
T,<br />
74<br />
,<br />
5,<br />
A 4 8<br />
1<br />
,<br />
215<br />
,<br />
, t<br />
9 .<br />
6°<br />
74<br />
,<br />
1<br />
1