Re: Initialisation of multidimensional array



Richard E Maine wrote:

(snip regarding array initialization)

I have seen largish (for the time, which was a while ago) server systems
brought to their knees by things like this. (Ok, I think it was in a
DATA statement, but same idea).

It sounds pretty much the same in the standard, though the OP
asked for elegant. For a DATA statement I think you say 1000*42,
making it a little more obvious that 1000 42's are generated.

> I think one even crashed when it ran out
of disk space on a system volume during compilation.

I once had hundreds of cards punched with binary zeros, which take
five holes each, punching an object program generated that way.

-- glen

.



Relevant Pages

  • Re: NEWBIE Question:-(
    ... bit is a vendor-specific syntax for hexadecimal. ... > associate this particular syntax with IBM compilers, ... > as long as it stays in the very limitted context of a DATA statement, ...
    (comp.lang.fortran)
  • Re: Any libraries for vector mask and vector population count?
    ... How about as a DATA statement instead of PARAMETER? ... This reminds me of limits on the size of static arrays with a ... C compiler on the Alpha. ...
    (comp.lang.fortran)