Casio FX-795P Owner's Manual page 94

Hide thumbs Also See for FX-795P:
Table of Contents

Advertisement

|
Explanation:
1) Counts the number of characters in a simple variable.
Example:
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

Advertisement

Table of Contents
loading

Table of Contents