Appendix D
Formatting and Data Conversion
124
H Format
Contents of PC word
0
0
0
B
PC WRITE “ H 1 ” ; J
Integer variable
Character variable
0
0
A
B
PC WRITE “ H 2 ” ; J
0
9
A
B
PC WRITE “ H 3 ” ; J
8
9
A
B
PC WRITE “ H 4 ” ; J
←
J = – 3 0 2 9 3 = & H 8 9 A B
0
0
0
8
PC WRITE “ H 1 ” ; A $
0
0
8
9
PC WRITE “ H 2 ” ; A $
0
8
9
A
PC WRITE “ H 3 ” ; A $
8
9
A
B
PC WRITE “ H 4 ” ; A $
←
A $ = “ 8 9 A B ”
O Format
Contents of PC word
0
0
0
4
PC WRITE “ O 1 ” ; J
Integer variable
Character variable
0
0
3
4
PC WRITE “ O 2 ” ; J
0
2
3
4
PC WRITE “ O 3 ” ; J
1
2
3
4
PC WRITE “ O 4 ” ; J
←
J = 6 6 8 = & 1 2 3 4
0
0
0
1
PC WRITE “ O 1 ” ; A $
0
0
1
2
PC WRITE “ O 2 ” ; A $
0
1
2
3
PC WRITE “ O 3 ” ; A $
1
2
3
4
PC WRITE “ O 4 ” ; A $
←
A $ = “ 1 2 3 4 ”
Summary of Contents for C500-ASC04
Page 1: ...C500 ASC04 ASCII Unit Operation Manual Revised February 2001 ...
Page 5: ...iv ...
Page 7: ...vi ...