EasyManua.ls Logo

Sharp PC-1500 - Page 73

Sharp PC-1500
169 pages
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...
A
ll
and more about Sharp PC-1500
at
http://www.PC-1500.info
O
utp
ut:
SUPERMAN
In line
20.
th
e con
te
n
ts
of
the vari
ab
le
SS
("SUPER") is " added" to t
he
string
"MA
N
".
N
ot
ice
that
no
space
is
il'l
scrt
cd
during
concatenat
ion. Several s
trin
gs
may
be
co
ncatena
te
d in
the
sarne
expressi
on
as
in
the
f
otlo~1
ing
examp
l
e:
Example 2:
10
AS =
"ER"
20
BS
=
"AND"
30
CS
=
"MOTH"
40
OS
= "
GR"
50
SS
= "WRITE YOUR
"+OS
+
BS
60
PR
INT
SS
+C
S + AS
Output:
WRITE
YOUR
GRANDMOTHER
\f!J
hen
concat
·
ena
ti
on
operat
i
ons
are
per
for
med,
an
i
nt
ernal t
emporary
ch
aracter
s
tor
age area is
used to
bu
ild t
he
ne\•J
str
ing. This storage
ar
ea has a
capacity
of
80
c
hara
c
ter
s.
If t
he
nc\•J
str
ing
exceeds t
his
l
ength,
an
ERROR
15
\v
i
ii
occur.
An
illu
s
tration
of
this area
during
a
co
ncatenation
opcr.Jtio
n
fo
llo•.•
.,rs:
Examp
le
3:
X = L
EN
("ABC
" + LEF
TS
{"DE
F
GHI"
, 2)) l
•TE•
I
I
-------------------
--
t
2
1
~
BC
-
.
~
3
4
ABCDEFGHI
ABC
DE
t
t
J
NOTE:
The
t symbol repr
ese
nts an internal character pointer which
keeps
uack
of
the
am
ou
nt
of storage u
se
d.
1) At
th
e
start
of
exe
cution.
the
-s
to
ra9e area \viii
be
cleared
and
the
cha
r
acter
po
i
nte
r
wi
ll
be
r
ese
t
to
the starti
ng
posi
ti
c)n.
71
Do
not sale this PDF
!!!

Table of Contents

Other manuals for Sharp PC-1500

Related product manuals