Re: Standards conforming or not?




"Bruce Bowler" <bbowler@xxxxxxxxxxx> wrote in message
news:pan.2006.02.27.14.27.38.589097@xxxxxxxxxxxxxx
Does the following code conform to the Fortran 95 standard?

No. If an array is assumed-size, the DIM parameter must be present in the
reference to SIZE. Of course, with assumed-shape and an explicit interface
all would work as expected.

Regards,

Mike Metcalf


.



Relevant Pages

  • Re: Standards conforming or not?
    ... If an array is assumed-size, the DIM parameter must be present in the ... reference to SIZE. ... with assumed-shape and an explicit interface ... If that is now standards conforming, ...
    (comp.lang.fortran)
  • Re: short question concerning SIZE
    ... [about sizeof an assumed-size array] ... assumed-shape array and an explicit interface of some sort instead. ... So if you are wanting to ask about the size of an assumed-size dummy, ...
    (comp.lang.fortran)