479
EVAL, EVALP
1
2
3
4
4
6
7
8
7.11 Character string processing instructions
7.11.12 EVAL, EVALP
(b) When using exponent format
(4) In the decimal point format, if "2B
H
" (+) is specified for the sign or if the designation of sign is omitted, conversion is made
assuming a positive value.
If "2D
H
" (-) is specified for the sign, the character string is converted assuming a negative value.
(5) In the exponent format, if "2B
H
" (+) is specified for the sign in the exponent portion or if the designation of sign is omitted,
conversion is made assuming a positive value.
If "2D
H
" (-) is specified for the sign in the exponent portion, the character string is converted assuming a negative value.
(6) In a case where the ASCII code "20
H
(space)" or "30
H
" (0) exists between numbers not including the initial zero in a
character string specified by , it will be ignored when the conversion is done.
(7) In a case where the ASCII code "30
H
(0) " exists between the character "E" and a number in an exponent format
character string, the "30
H
" would be ignored when the conversion is performed.
(8) If the "20
H
" (space) code is contained in the character string, the code is ignored in the conversion.
(9) Up to 24 characters can be set for a character string.
The codes "20
H
" (space) and "30
H
" (0) contained in the character string are also counted as a character.
+1
2DH (-)20H (space)
31
H (1)2EH
b15 b8
b7
b0
+2
33
H (3)35H (5)
(.)
30
H (0)33H (3)
+3
34
H (4)31H (1)
32
H (2)
+4
+5
45H (E)
+6
2D
H (-)
30
H (0)
32H (2)
00H
+1
32-bit floating-point
real number
-1
.
350 34 E- 2
+7
.
3 5 0 3
4 1 2 E
0
-
21-
These are cut
S
S
S
S
S
S
S
S
D D
S
+1
2DH (-)20H (space)
30
H (0)31H (1)
b15 b8b7 b0
+2
2E
H (.)32H (2)
33
H (3)31H (1)
+3
00
+4
Ignored
1
.
2
3
1
0
-
+1
32-bit floating-point
real number
1-1
.
23
D
S
S
S
S
S
D
2DH (-)20H (space)
31
H (1)2EH (.)
30
H (0)34H (4)
35
H (5)33H (3)
45
H (E)2BH (+)
30
H (0)33H (3)
00
H
Ignored
+1
.
0 4
5
3 E
+
0 31-
-1 .
0
4
53
E
+
3
D
D
b15 b8b7 b0