EasyManuals Logo
Home>Casio>Desktop>FX-795P

Casio FX-795P User Manual

Casio FX-795P
133 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
Page #94 background imageLoading...
Page #94 background image
|
7-3
Character
Functions
L
E
N
(Simple
character
variable)
eee
Function:
Obtains
the
length
of
the
character
string
in
a
simple
character
variable.
Parameter:
.
Simple
character
variable:
An
array
character
variable
cannot
be
used.
;
Explanation:
1)
Counts
the
number
of
characters
in
a
simple
variable.
2)
Usable
character
variables
are
simple
character
variables
(A$,
Y$,
$,
etc.).
Array
character
variables
such
as
B$(3)
cannot
be
used.
Example:
INPUT*String="1$%
2@
PRINT*Length="+LEN($)
36
GOTO
18
174
7-3
Character
Functions
M
|
D
$
(Location...
[,
Number
of
characters])
®
Numeric
expression
Numeric
expression
Function:
Fetches
the
specified
number
of
characters
from
a
specified
location
of
the
exclusive
character
variable
($).
Parameter:
Location:
Numeric
expression.
Values
below
the
decimal
point
are
discarded,
;
1
glocation<
101
Number
of
characters:
Numeric
expression.
Values
below
the
decimal
point
are
discarded.
1
<
number
of
characters
<
101.
When
omitted,
all
characters
after
the
specified
location
are
fetched.
Explanation:
1)
Fetches
a
specified
number
of
characters
from
a
specified
location
of
the
exclusive
character
variable-($).
2)
When
the
specified
location
is
out
of
the
character
string,
a-null
is
obtained.
3)
When
the
length
of
the
character
string
after
the
specified
location
is
smaller
than
the
specified
number
of
characters,
all
the
characters
after
the
specified
location
are
fetched.
*MID$§
can
be
abbreviated
as
MID.
Example:
1@
$=“ABCDEFGH!
JKLMNOPORSTUVWXYZ”
20
INPUT“
location=",M,*length=”,N
3@
PRINT
MIDS(M,N)
4@
GOTO
28
175

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Casio FX-795P and is the answer not in the manual?

Casio FX-795P Specifications

General IconGeneral
BrandCasio
ModelFX-795P
CategoryDesktop
LanguageEnglish

Related product manuals