> Because he said he was doing PARAMETERS. You can't use DATA statements
> for PARAMETERS and there are plenty of good reasons for wanting
> somethings to be PARAMETERS. Now perhaps a syntax suggestion would be
> to allow DATA statements for PARAMETERS. Hmm. I haven't thought it
> through, but I suspect there would be complications, though maybe not
> too bad. I'm not entirely sure why it isn't allowed, though I might
> speculate that it was thought that DATA statement syntax had so many
> quirks that it was better to develop a replacement than to try to
> extend it.
It might be a throwback to the pre-Fortran90 times where there was less
functionality available for PARAMETERs in general, e.g. there could be
no array-valued PARAMETERs.
|