Commodore PET User Manual page 115

Table of Contents

Advertisement

Before RETURN
(:$="X"
F.:EAD'T'.
RUN.
After RETURN
F'HEloJ!
READ..,'.
~'*
The screen blanks and the word PHEW! is printed, but the X's are not
printed in between. Obviously the value of C$ is not being transmitted to the pro-
gram.
RUN clears ail variables to 0 and ail strings to null before beginning execu-
tion of a program. So C$ was set to null and that was what was printed in the pro-
gram loop (a null is "nothing"; it does not print nor does it move the cursorl.
Is there a way to transmit the value of C$ to the program? Instead of using
RUN. which initializes variables, vou can use GOTO 110 (110 being the line num-
ber of the first line of the program). This does not change any variable values.
Before RETURN
(:$="X"
READY.
c;OTO
110}~
After RETURN
>!,
}!,xx;:;x
~.:; ~.~ :;.:;;:.~
).:::x:;:.!'
X
;:.:;;:<
).!,
>:;~-=:
>!,
}~>-=:>!, >.!,}.~}:;>::><
).!,}:;>:;><
;-=;
>!.}:; >:;}.:;
> ..
~ >!,>::
::.~
>.!,
;:'!'}'!'X
x>!,}::; : . : ;
>-=:>:;}!,
}.?,>::).:;
>?}:;}-=;
;'::>!,}.!,}.:: ;X;}!,}:;
}!,}.:;
}.!,}.!,>::
><x
><X)-:;
>~}::>=;>::;:.!,
}!, ;:.:;}:;
:x:>?>::
;:.!,
>!,><><x
}.:;>?
:X;>?,;:-!,
>::>::>!.
>!,X>~~-::>~>·!, x>:;~
. . : :
>!.X}·!'}<X
>:;><}':::X:XX}<
}':;)'::>:::x;}!.>:;}-:;X><X>?><}-::X::-::>!.>?X}?'XXXXX>?'}-::X:X:X}!,}:;x><>=;>::xxxx>:;
::.~
;:.!,
}.?,>:;}<>< >!.;:.:;
;:.!,;:.::
X},!,
><
}'!'X
}!.>!. ;x:}?,}?
}.:;:X:;:'!, }.!, X}·!,}-:;
>:;}<
X
>:;;-:;}-:;}-:;;:.:;
::-::>:;
}<:;x:;:-:;
H }.:;
::<
}.!,
::·!,XX~-::;:'1,
}:;;:-:;
~-1,}.~~.~ ~-:;xxx>~ >~xx;:-=:
}-:::x:
>?,
>::~·:;}=:x
>::
>::x
~-:;
>:::x:
XX}:: X
~<
; : . : ;
~-:;>!,>:;~<
X
~.::
;:.=:x>?,
).~>~>=:
}-::
>:;>:;~-:;::.:;~
. .
! ,
~.!, ~-:;>::
>::}·?' > :;X
>=:>?,>~>:;
X}-:;
:x:>=:>:;
x:=-::
;X;)-:;
;:.:;>:;}-:;
;x:;:.=:><>?,>.=:}-::>:;;:.:;>=: X::'!,
>.:;
;:<~.:;~-:;}-::).=:
XX }.!,>.::
:=-?,}-:;
>=:
;:.:;;.=::x:
>=:
;=-!,
>=:
>=:>:;;:.::>=:
>:;}.:;}-:;
).=: ;:-:;
H><XX><>-:;
::.:;;.=:
>::
;:-:;).=:
~<).::
).::>:: )-:;
).=:).:;~.:;
x>=:).:;
>=:
>:; X}::;:<>::>::
)-:;;"(;::-:;~<
;:.:; X >:; ).:;>:;
>:;
)·!' X XX>?' > ·:;
;:.!,X
>::
>::>:;}-?,X)·=:
><
)-::;x;;:.=: }-:;
>=:>:;)-=;;:-::;-:;
>::
>::
><>::x
>:;
><>:;)-:;;<>!,).:;;:.:;
>:;).:;
).!,:: . .
~ x
XX}:;>::X}:;;:' ? ' ) ·!' > :;;:·::
).!,
><>=:
).:;;:-:;:x:>:;
>=:
>?,::-:;
).=:
X}·:;
}:;>::;:.:; >:;
>=:
~< X~-::
)-:;;:.::
; - . : : : = -! , ; : . : ; ; : . : ;
}-~ ~<>~x>!,x::-::
>=:
>=:xxxx><>=:
><:x;;-:;
~.::
>:;;:.::
><,-:;;x;). : ;
>:;}-:;} ..
~
x}:;}-:;
X
><>:;;:-:;;o:;>=:>=:
~
..
=:
>=:
H
i<
><>=:x>:;>=:;:.:;xx>=:>!,>:;xx
>::
~<
;x:;:.:;x
>:;>=:x>:;>=:
)-:;;< ;<XX)-:;
>::
;:':;;X;}1,
}- = ;
xx::-=::x;
: : . : : }-:;).=:;:.::>=:x
~.:;
)·=:x>=;><x:x:xxx>::;x:>=:x>?,:x:; : - : ; ;.:;}:;
>=:>!,~-:;
>:;
x;:·::>:;~< ).~}:;
: : . : : >:::x;;.:;
~.::
X;:' : :XX)·!' > =:
r~ ~.~ :=-:;~.~ )-:;}.=:~.!,}-:; ~-:;
X}:;XX)·:;
~.::
>::
~.:; ::.:;~.:;
>:; ).:;;.:;
>~>=:
}.:;
~
. . : :;.:;
~.::
:=-:; }-1,
>~>:;
}.:;;-:;
X>~XXr~XXX>::}-?>::>::>::X~-::X>=:)-:;>::>~X>::>::~-::>=:>-~>~>::x>::::-::x>·:XX}-:::x:}~:}-::x
x>:;xxxxxxxxxxx>~x>:;}-:;x>=;~-::x>:;>:;xx>-:;;:.::>·::>:;::-::}=:>~}·?'>-:;::-:;}-:;X}·:;}·:;}·!,
x~·~xxxxxx>?,XX}<>~>-:;x>::>::>::x>::}<>!,>::::-:;}·:;>:;>:;>=:>:;>:;}-::~":;}-:;;·!':;.:;}·:;X}·!,}-!,;:-:;
X::-::;:"~XXX>-~>?,XX>=:XXXX>=;)"';X>!,>::>!,>::>::;-::}.;;;·:;).;;>·:;>!,;x:>.:;}::}-::>::;:.:;;:.:;
;:-:;;:<}.:;;:.:;
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
F'HE~~
!
READY.
102

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cbm

Table of Contents