!
!
! ifelse($1,get,`Attempt to read',`Write') ifelse($4,char,,ifelse($5,arr,`Count words of '))time ifelse($6,ti,`in')dependent
! ifelse($2,var,`attribute "Element" of variable "Varname"',`domain metadata named "Element"') ifelse($6,td,`valid at time DateStr')
! ifelse($1,get,`from',`to') the open dataset described by DataHandle.
! ifelse($2,var,`Attribute',`Metadata') of type $3$4 ifelse($2,var,`is',`are')
! ifelse($1,put,`copied from',`stored in') ifelse($4,char,`string',ifelse($5,arr,`array',`scalar')) Data.
! ifelse($4,char,,ifelse($5,arr,ifelse($1,get,`Actual number of words read is returned in OutCount.')))
!
!
!
USE module_state_description
IMPLICIT NONE
INTEGER , INTENT(IN) :: DataHandle
CHARACTER*(*) , INTENT(IN) :: Element
ifelse($6,td,`CHARACTER*(*) , INTENT(IN) :: DateStr')
ifelse($2,var,`CHARACTER*(*) , INTENT(IN) :: VarName')
ifelse($4,char,`CHARACTER*(*) :: Data', `ifelse($3,double,real*8,$3) :: Data ifelse($5,arr,(*),)')
ifelse($4,char,,`INTEGER , INTENT(IN) :: Count')
ifelse($4,char,,`ifelse($1,get,`INTEGER , INTENT(OUT) :: OutCount')')
INTEGER , INTENT(OUT) :: Status
#include