Re: be used uninitialized in this function

cjpsimon@xxxxxxxxx <cjpsimon@xxxxxxxxx> wrote:

On 15 jan, 15:44, Jinsong Zhao <jsz...@xxxxxxxx> wrote:
integer, dimension(3,5) :: lopt
if ( lopt(j,i) < 0 ) then

For me, lopt seems to be seen as a function returning an integer of
dimension (3,5).

Such a function requires an explicit interface. This is unambiguously a
local array and i have a had time imagining a compiler getting that

Richard Maine | Good judgment comes from experience;
email: last name at domain . net | experience comes from bad judgment.
domain: summertriangle | -- Mark Twain

Relevant Pages