Commodore PET User Manual page 334

Table of Contents

Advertisement

whereas the statement
10 A$="HI''':PRINT A$
is stored in two areas. The original statement is stored in the BASIC Statement
Area:
A
$
=
"
H
P
R
1
N
T
ln addition. when this statement is executed the following entry is made in the
Variable Area:
(String)
A
Leng~l·
of
string
No
A*256+9
2nd
=1033
char
The string in the BASIC Statement Area is pointed to (beginning at memory loca-
tion 1033 in this program) rather than storing a copy of it in uppercore. However,
when Vou create a new string. as in:
20 B$=A$+"HO"
the BASIC Program Area entry is:
and the entry in the Variable Area is:
Byte:
1
2
3
4
5
6
7
(42.43)-~
~
l
~6+251=
No
Length
8187
2nd
of
char
string
321

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cbm

Table of Contents