Sharp PC-1403 Operation Manual page 159

Hide thumbs Also See for PC-1403:
Table of Contents

Advertisement

153
Assigns the value
'10'
to
I.
Assi
g ns
the
value
'50' to A.
Assigns the value '50' to
X$
Assigns
the
value '50.00'
to Y$.
101=10
20
A=5*1
30
X$=STR$(A)
40
IF
1>=10
THEN
LET
Y$=X$+".00"
The
LET
verb
may be omitted in
all
LET statements except those which appear
in
the
THEN
clause of an IF
... THEN
statement. In
this
one case
the
LET verb must
be
used.
••Mi
The
LET
verb
assigns
the value of the
expression to
the
designated
variable.
The
type
of
the
expression
must
match
that of
the
variable,
i.e.,
onl
y numeric
expressions
can
be assigned to numeric
variables
and
only string expressions
can
be
assigned
to string
variables.
To convert from one type
to the other, one
of
the explicit type
conversion
functions,
STR$
or
VAL, must
be
used.
IQ!iM¥11
The
LET verb
is used to assign a
value
to a
variable.
Abbreviations:
LE.
1
LET
variable=expression
2
varlable=expresslon
Verbs
LET

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents