This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch] intrinsic.texi: 13 down
Hi Daniel,
Daniel Franke schrieb:
>> On Fri, Aug 25, 2006 at 03:22:07PM -0700, Brooks Moses wrote:
>>> Hexadecimal constants in the code examples should probably be entered in
>>> as close to a standard form as possible -- i.e., Z'F', not 'F'X
> Changed
> INTEGER :: a = 'F'X, b = '3'X
> to
> INTEGER :: a, b
> DATA a / 'F'Z /, b / '3'Z /
Shouldn't one use z'F' rather than 'F'z?
Besides, I wouldn't use data but rather use a = z'F'; in addition, I
personally dislike integer :: a = z'F' as this implies SAVE, which
might not be wanted.
Thus I'd prefer either
integer, parameter :: a = z'F', b = z'3'
or
integer :: a, b
a = z'F'
b = z'3'
or
integer, save :: a = z'F', b = z'3'
Tobias