Hello,

I am sorry that I could not make myself clear. What I meant to say is that I aim to form a compound datatype which comprises VL (variable length) and fixed-length array fields/datatypes. In the example for creating VL datatype, using a user-defined datatype which includes a pointer is suggested (Example 27 on page 227 in the HDF user manual). That is what I want to avoid but it seems it is the only way. What I want to achieve is summarized in Figure 18 on page 238 in the HDF user manual; a compound datatype built up of numerous VL and atomic datatypes.

Ekin



On 03/14/2012 07:16 AM, [email protected] wrote:
Hi,

suggestions about storing this data as a compound type with variable
length fields without using pointers as explained in
h5ex_t_vlen_F03.f90 [1] example script on HDF GROUP web site. Thank
you in advance for your concerns.

I don't understand what you mean by "not using pointers", do you mean you don't want to use C_LOC and/or F2003 and still do the same thing as h5ex_t_vlen_F03.f90? Can you explain further what in h5ex_t_vlen_F03.f90 you want to avoid doing?

Scot



_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org



--
*Ekin Akoglu*

Research Assistant

Institute of Marine Sciences
Middle East Technical University
P.O. Box 28, 33731
Erdemli, Mersin
Turkey

Web: www.ims.metu.edu.tr
Email: [email protected] <mailto:[email protected]>
Phone: +90 324 521 34 34
GSM: +90 506 554 03 90
Fax: +90 324 521 23 27
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to