diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2000-11-03 19:49:59 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2000-11-03 19:49:59 (GMT) |
commit | ada3710bc71fc8781a69cb0d87718dc608a9e553 (patch) | |
tree | 3f98829b376de309c1946db497359f72a15e2389 /fortran/examples/refobjexample.f90 | |
parent | 39e47fe74d4991ea478ab579387c1860c4f503f1 (diff) | |
download | hdf5-ada3710bc71fc8781a69cb0d87718dc608a9e553.zip hdf5-ada3710bc71fc8781a69cb0d87718dc608a9e553.tar.gz hdf5-ada3710bc71fc8781a69cb0d87718dc608a9e553.tar.bz2 |
[svn-r2797]
Purpose:
Maintenance
Description:
Updated examples to use new F90 programming model
Platforms tested:
O2K and Solaris2.7
Diffstat (limited to 'fortran/examples/refobjexample.f90')
-rw-r--r-- | fortran/examples/refobjexample.f90 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fortran/examples/refobjexample.f90 b/fortran/examples/refobjexample.f90 index 508ca3e..2258246 100644 --- a/fortran/examples/refobjexample.f90 +++ b/fortran/examples/refobjexample.f90 @@ -37,9 +37,9 @@ INTEGER, DIMENSION(5) :: data = (/1, 2, 3, 4, 5/) INTEGER :: class, ref_size ! - ! Initialize FORTRAN predefined datatypes + ! Initialize FORTRAN interface. ! - CALL h5init_types_f(error) + CALL h5init_fortran_f(error) ! ! Create a file ! @@ -132,6 +132,10 @@ CALL h5tclose_f(type_id, error) CALL h5dclose_f(dsetr_id, error) CALL h5fclose_f(file_id, error) + ! + ! Close FORTRAN interface. + ! + CALL h5close_fortran_f(error) END PROGRAM OBJ_REFERENCES |