diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2001-04-27 03:52:24 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2001-04-27 03:52:24 (GMT) |
commit | fef182fd966c8c113a5bab02f19afca4c91f0ba5 (patch) | |
tree | 952bcd243d030ea9fc63bf6d457754abdbbea1c0 /fortran/examples/attrexample.f90 | |
parent | 9aba4e88c26d98aafaf231163e949b9a53aa9561 (diff) | |
download | hdf5-fef182fd966c8c113a5bab02f19afca4c91f0ba5.zip hdf5-fef182fd966c8c113a5bab02f19afca4c91f0ba5.tar.gz hdf5-fef182fd966c8c113a5bab02f19afca4c91f0ba5.tar.bz2 |
[svn-r3862]
Purpose:
Codemaintenance
Description:
read/write APIs have been changed.
Solution:
Made necessary changes to the source code.
Platforms tested:
Linux, Solaris 2.7, O2K, T3E
Diffstat (limited to 'fortran/examples/attrexample.f90')
-rw-r--r-- | fortran/examples/attrexample.f90 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fortran/examples/attrexample.f90 b/fortran/examples/attrexample.f90 index 82167aa..99ff789 100644 --- a/fortran/examples/attrexample.f90 +++ b/fortran/examples/attrexample.f90 @@ -28,6 +28,7 @@ CHARACTER*80, DIMENSION(2) :: attr_data ! Attribute data INTEGER :: error ! Error flag + INTEGER, DIMENSION(7) :: data_dims ! @@ -71,7 +72,8 @@ ! ! Write the attribute data. ! - CALL h5awrite_f(attr_id, atype_id, attr_data, error) + data_dims(1) = 2 + CALL h5awrite_f(attr_id, atype_id, attr_data, data_dims, error) ! ! Close the attribute. |