Drew McCormack wrote:
> vpoint => vertices(1:2,:)
> area = calcArea( vpoint )
I'll repeat the question again: What is the PROBLEM? You keep saying the
compiler does something wrong without the actual error. There is still
nothing wrong with the above code, you can pass any array (pointer or
whatever) as an actual for a dummy array argument (in fact you can even
pass an array element), and implicit interfaces are fine so long as the
dummy is explicit-shape or assumed-size (F77 "style"). But extents must
match, which may be what you are doing wrong (which would be a
programming error, not a language question).
Best,
Aleks
|