summaryrefslogtreecommitdiffstats
path: root/fortran/test/tH5T.f90
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2002-05-31 20:11:54 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2002-05-31 20:11:54 (GMT)
commitae818ca9df9e12f4ba32e85de2f49ce164a0095f (patch)
treee410bfcf872b490298988e2f374ecb83c8b91c1e /fortran/test/tH5T.f90
parent4a3fa29c25e2ad0acef8621e21cbd546c184e269 (diff)
downloadhdf5-ae818ca9df9e12f4ba32e85de2f49ce164a0095f.zip
hdf5-ae818ca9df9e12f4ba32e85de2f49ce164a0095f.tar.gz
hdf5-ae818ca9df9e12f4ba32e85de2f49ce164a0095f.tar.bz2
[svn-r5492]
Purpose: Code clean up. Description: Many F90 compilers were not happy about character*(*) declarations. Solution: Used F90 character(len=*) declarations. Platforms tested: Solaris 2.7 and Linux 2.4
Diffstat (limited to 'fortran/test/tH5T.f90')
-rw-r--r--fortran/test/tH5T.f906
1 files changed, 3 insertions, 3 deletions
diff --git a/fortran/test/tH5T.f90 b/fortran/test/tH5T.f90
index 0f9a39c..43c3a9e 100644
--- a/fortran/test/tH5T.f90
+++ b/fortran/test/tH5T.f90
@@ -51,8 +51,8 @@
INTEGER(SIZE_T) :: type_sizer ! Size of the real datatype
INTEGER(SIZE_T) :: offset ! Member's offset
INTEGER(SIZE_T) :: offset_out ! Member's offset
- CHARACTER*2, DIMENSION(dimsize) :: char_member
- CHARACTER*2, DIMENSION(dimsize) :: char_member_out ! Buffer to read data out
+ CHARACTER(LEN=2), DIMENSION(dimsize) :: char_member
+ CHARACTER(LEN=2), DIMENSION(dimsize) :: char_member_out ! Buffer to read data out
INTEGER, DIMENSION(dimsize) :: int_member
INTEGER, DIMENSION(dimsize) :: int_member_out
DOUBLE PRECISION, DIMENSION(dimsize) :: double_member
@@ -62,7 +62,7 @@
INTEGER :: i
INTEGER :: class ! Datatype class
INTEGER :: num_members ! Number of members in the compound datatype
- CHARACTER*256 :: member_name
+ CHARACTER(LEN=256) :: member_name
INTEGER :: len ! Lenght of the name of the compound datatype member
LOGICAL :: flag
INTEGER(HSIZE_T), DIMENSION(3) :: array_dims=(/2,3,4/)