HP Fortran Programmer's Reference (September 2007)

I/O formatting
Edit descriptors
Chapter 9 263
negative values are output in twos complement form, their high-order bits are nonzero and
cause the field to be filled with asterisks when
w
is less than the number of hexadecimal digits
in the entire output value. If
m
is set to 0, a zero value is output as all blanks.
The field width required to fully represent the hexadecimal value of an item is twice its size in
bytes. For example, a CHARACTER*12 item would require a field width of 24 characters.
Table 9-24 provides examples of the hexadecimal edit descriptor on output.
Table 9-24 Z edit descriptor: output examples
Descriptor Internal value Output
Z2 27 1B
Z6.4 27
bb
001B
Z 'A'
b
41
Z8 'ABCD' 41424344
Z8 1.1 3F8CCCCD