(j3.2006) Finalizing subroutines question

Jim Xia jimxia
Fri May 23 14:57:53 EDT 2008


j3-bounces at j3-fortran.org wrote on 05/23/2008 02:42:14 PM:

> On Friday 23 May 2008 11:19, Jim Xia wrote:
> > But how do you finalize this
> >
> > obj[i] = local_obj
> >
> > obj[i] will get finalized, right?
> No. Finalization occurs during intrinsic assignment only when 
deallocation is 
> involved.


Where did you get that idea from?  Intrinsic assignment ALWAYS finalizes 
LHS before assignment happens.  See section 4.5.5.2 in F03 for details.

Jim Xia

RL Fortran Compiler Test
IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7
Phone (905) 413-3444  Tie-line 313-3444
email: jimxia at ca.ibm.com
D2/YF7/8200 /MKM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://j3-fortran.org/pipermail/j3/attachments/20080523/57fb38a9/attachment.html 



More information about the J3 mailing list