Newsgroups: comp.lang.fortran
From: "James Van Buskirk" <not_va...@comcast.net>
Date: Fri, 16 May 2008 02:19:53 -0600
Local: Fri, May 16 2008 4:19 am
Subject: KIND optional argument in transformational intrinsics
I found that gfortran is missing the KIND optional argument in some
of the transformational intrinsics. Also a couple of usages of KIND were not documented, and gfortran does not yet accept f2008 usage for the SIZE intrinsic. C:\gfortran\james\intrinsics\func1>type kind.f90 i = 42 write(*,*) achar(i,kind=ck) ! KIND works but is not documented C:\gfortran\james\intrinsics\func1>gfortran kind.f90 -okind write(*,*) maxloc(array,kind=ik) ! Consistent with f2003 usage write(*,*) minloc(array,kind=ik) ! Consistent with f2003 usage write(*,*) shape(array,kind=ik) ! Consistent with f2003 usage write(*,*) size(ik) ! Consistent with f2008 usage -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||