summaryrefslogtreecommitdiffstats
path: root/fortran/test/tH5A.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/tH5A.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/tH5A.f90')
-rw-r--r--fortran/test/tH5A.f906
1 files changed, 3 insertions, 3 deletions
diff --git a/fortran/test/tH5A.f90 b/fortran/test/tH5A.f90
index e5c5ad3..cec25de 100644
--- a/fortran/test/tH5A.f90
+++ b/fortran/test/tH5A.f90
@@ -60,11 +60,11 @@
INTEGER(HID_T) :: attr4_type !Returned REAL Attribute Datatype identifier
INTEGER(HID_T) :: attr5_type !Returned INTEGER Attribute Datatype identifier
INTEGER :: num_attrs !number of attributes
- CHARACTER*256 :: attr_name !buffer to put attr_name
+ CHARACTER(LEN=256) :: attr_name !buffer to put attr_name
INTEGER(SIZE_T) :: name_size = 80 !attribute name length
- CHARACTER*35, DIMENSION(2) :: attr_data ! String attribute data
- CHARACTER*35, DIMENSION(2) :: aread_data ! Buffer to put read back
+ CHARACTER(LEN=35), DIMENSION(2) :: attr_data ! String attribute data
+ CHARACTER(LEN=35), DIMENSION(2) :: aread_data ! Buffer to put read back
! string attr data
CHARACTER :: attr_character_data = 'A'
DOUBLE PRECISION, DIMENSION(1) :: attr_double_data = 3.459