EasyManua.ls Logo

Commodore PET - Page 292

Commodore PET
447 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
This markedly improves the readability of the line being entered.
PET
BASIC
makes
no
distinction between the
two
of them, however. Either one
is
expanded
to
the word
LIST.
Where a two-Ietter abbreviation
is
ambiguous
(does
St
mean
STEP
or
STOP?)
the two-Ietter abbreviation
is
assigned to the most frequently used
keyword, and the other word or words are either not abbreviated or
are
abbrevi-
ated by the first three characters, the third entered
in
shifted mode. For
STEP/STOP,
STOP
is
abbreviated:
St
STEP
is
abbreviated:
STe
To abbreviate
STEP,
type unshifted S (capital
Sl.
unshifted T (capital
Tl.
and
shifted E Oower-case e or graphic
3/4
TOP
L1NE
HORIZONTAL 15).
Following
are
a few sample input lines showing
use
of the two- and three-
letter abbreviations wherever possible.
Ali
the abbreviated words are expanded to
the full spelling when vou list the programs.
Po
59468,
1 4 (after
RETURN)
Abbreviation for
POKE
59468,14
10
Le
A=10
20
E=A
An
14+Ex(2)
30
Di
C(5)
40
Fo
1=0
TO
5
50
Re
CO)
60
Ne
70
Da
1,6,2,4,10,5,16
80
REs
90
En
Li
Abbreviation for LIST
1(1
LET
A=10
20
B=A
AND
14+EXP(2)
:3(1
DI
M C( 5 )
4(1
FOF:
1=1<:1
TO
5
51<:1
READ
C(
1)
61<:1
NE:=<T
70
DATA
1.6.2.4.10.5.16
::;:(1
F:ESTORE
90
END
Po
59468,
12
(before
RETURN)
Abbreviation for
POKE
59468,12
After keying
RETURN
at the last
POKE
command line (return to Standard
Character
Setl. vou
will
see
the abbreviations show
with
graphics
as
the shifted
characters.
279

Table of Contents

Related product manuals