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 #106 background imageLoading...
Page #106 background image
198
CHAPTER
7
Command
Reference
&H
Character
string
Function:
Converts
a
hexadecimal
character
string
to
a
decimal
value
by
placing
this
func-
tion
at
the
beginning
of
a
given
hexadecimal
character
string.
Parameter:
Hexadecimal
numeric
string.
(Up
to
4
digits)
-32768
<
&H
character
string
<
32767
Character
string:
Explanation:
1)
If
placed
at
the
beginning
of
a
hexadecimal,
it
will
be
converted
to
a
decimal
integer
value.
Although
&H
is
shown
as
a
function
since
it
functions
opposite
to
HEX$,
strictly
speaking,
it
is
not
a
function
but
is
actually
a
hexadecimal
.
identifier.
2)
Since
the
conversion
result
will
be
a
decimal
integer
with
the
range
of
-32768
to
+32767,
&HFFFF,
for
example,
will
not
indicate
65535
but
-1.
3)
The
0
placed
at
the
top
of
a
hexadecimal
and
spaces
in
a
hexadecimal
charac-
ter
string
are
disregarded.
<Example>
&HO010
indicates
16 of
a
decimal
number.
&HAwW
B
indicates
171
of
a
decimal
number.
&HUA
indicates
10 of
a
decimal
number.
(J
means
a
space.)
4)
An
error
(Error
2)
will
occur
if
a
hexadecimal
character
string
exceeds
four
digits
or
if
there
is
a
character
other
than
a
hexadecimal
in
the
character
string.
<Example>
&H
10000
->
Error
2
(Five
digits)
&HAG
Error
2
(Gis
not
a
hexadecimal)
&HA#
Error
2
(#is
not
a
hexadecimal)
7-6
Others
Example:
1@
CLEAR
2@
READ
H$
30
IF
H$=*end”THEN
8@
40
MS=*&H"
+H$
5@
A=VAL(MS$)
6@
PRINT
MS3°=""SA3UtU73
7@
GOTO
10
Lo.
8@
PRINT
H$;:BEEP:END.
188
DATA
10,100,1000,7FFF
11@
DATA
800@,ABCD,FFFF
12@
DATA
end
*Converts
hexadecimals
to
decimals.
199

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