Print

Print


Hallo,

At 10:53 26-04-2001 +0200, some list member wrote:
>On Thu, 26 Apr 2001, Michael Metcalf wrote:
>
>> Message text written by Fortran 90 List
>> >By the way, what is the reason for the restriction to integers?<
>>
>> Because binary, octal and hexadecimal values may be stored, via a DATA
>> statement, only in integers ("Fortran 90/95 Explained", Section 2.6.1).
>
>Well, but this only changes the question, doesn't it?
>Why "binary, octal and hexadecimal values may be stored, via a DATA
>statement, only in integers"?

All the following discussion din not answer my question:

Why is BOZ notation restricted to DATA statements.
Isn't the initialization in a type decl stmt equivalent to DATA?

I would like to be able to write

 Integer :: Q = Z'00ff00ff'

or even

 Integer, parameter :: Q = Z'00ff00ff'

if I want a mask of some sort.



--

Meilleures Salutations,
Kindest Regards,
/---
Jan van Oosterwijk
Computing Centre
Delft University of Technology
Postbus    354
2600 AJ  Delft
Netherlands / Pays-Bas
mailto:[log in to unmask]
http://huizen.DTO.TUDelft.NL/vanOosterwijk
Phone: +31 15 27 85017
Fax:   +31 15 27 83787