Thanks for the answer :-) Pierre
On Wed, Feb 05, 2014 at 07:52:27PM +0000, Scot Breitenfeld wrote: > Yes, writing a vl string attribute is only available for F2003; a f90 > h5awrite_vl_f is not available (whereas for a dataset h5dwrite_vl_f is > available) > > Scot > ________________________________________ > From: Hdf-forum <[email protected]> on behalf of Pierre de > Buyl <[email protected]> > Sent: Wednesday, February 05, 2014 1:20 PM > To: HDF Users Discussion List > Subject: Re: [Hdf-forum] VL string attribute in Fortran > > Dear Scot, > > Thanks for this code! It works fine with Fortran 2003 enabled (gfortran 4.8) > Is > the addition of vl-string support for attributes in Fortran only for Fortran > 2003? I couldn't deduce it from > http://www.hdfgroup.org/HDF5/doc/RM/RM_H5A.html#Annot-Write > > Regards, > > Pierre > > On Wed, Feb 05, 2014 at 05:43:37PM +0000, Scot Breitenfeld wrote: > > > > I've attached a modified version of h5ex_t_vlstring_F03.f90 to use > > attributes instead. This example assumes you have a F2003 compiler and you > > used --enable-fortran2003 when you built hdf5. Hope this helps. > > > > Scot > > _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
