This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
deferred type implementation?
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: fortran at gcc dot gnu dot org
- Date: Sun, 7 Jun 2009 13:57:54 -0700
- Subject: deferred type implementation?
Has anyone started to work on the deferred type parameter
feature of Fortran 2003? To make further progress on the
new features with ALLOCATE, I need to have deferred type
parameters. I work on this if no one else has started.
PS: Here's a trivial example of this feture:
program test
implicit none
character(:), allocatable :: fmt
allocate(character(3) :: fmt)
fmt = 'abcdef'
print *, trim(fmt)
deallocate(fmt)
allocate(character(6) :: fmt)
fmt = 'abcdef'
print *, trim(fmt)
end program test
PPS:
http://groups.google.com/group/comp.lang.fortran/browse_frm/thread/fc7bdedfa4afc785#
--
Steve