Newsgroups: comp.lang.fortran
From: Salvatore <sfilipp...@uniroma2.it>
Date: Thu, 29 May 2008 07:03:55 -0700 (PDT)
Local: Thurs, May 29 2008 10:03 am
Subject: Is this legal?
Hi,
subject says all: is the attached code legal? two compilers accept it, one does not. Thanks module d_type_mod module d_foo_mod interface foobar module foo_mod subroutine s_foobar(x) if (.not.allocated(x%v)) allocate(x%v(10)) subroutine d_foobar(x) if (.not.allocated(x%v)) allocate(x%v(10)) program test call foobar(z) end program test You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||