This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]