C
C
logical function find_arg(ipos,line,errflag)
+ implicit none
+ integer maxlen
parameter (maxlen=80)
+ integer ipos
character*80 line
character*1 empty /' '/,equal /'='/
logical errflag
return
end
logical function find_group(iunit,jout,key1)
+ implicit none
+ integer iunit,jout
+ integer ll
character*(*) key1
character*80 karta,ucase
integer ilen
return
end
logical function iblnk(charc)
+ implicit none
character*1 charc
integer n
n = ichar(charc)
return
end
integer function ilen(string)
+ implicit none
character*(*) string
logical iblnk
return
end
integer function in_keywd_set(nkey,ikey,narg,keywd,keywdset)
+ implicit none
+ integer nkey
character*16 keywd,keywdset(1:nkey,0:nkey)
character*16 ucase
+ integer i,ikey,narg
do i=1,narg
if (ucase(keywd).eq.keywdset(i,ikey)) then
* Match found
return
end
character*(*) function lcase(string)
+ implicit none
integer i, k, idiff
character*(*) string
character*1 c
return
end
logical function lcom(ipos,karta)
+ implicit none
+ integer ipos,i
character*80 karta
character koment(2) /'!','#'/
lcom=.false.
return
end
subroutine mykey(line,keywd,ipos,blankline,errflag)
+ implicit none
* This subroutine seeks a non-empty substring keywd in the string LINE.
* The substring begins with the first character different from blank and
* "=" encountered right to the pointer IPOS (inclusively) and terminates
* only separators or the maximum length of the data line (80) has been reached.
* The logical variable ERRFLAG is set at .TRUE. if the string
* consists only from a "=".
+ integer maxlen
parameter (maxlen=80)
character*1 empty /' '/,equal /'='/,comma /','/
character*(*) keywd
character*80 line
logical blankline,errflag,lcom
+ integer ipos,istart,iend
errflag=.false.
do while (line(ipos:ipos).eq.empty .and. (ipos.le.maxlen))
ipos=ipos+1
return
end
subroutine numstr(inum,numm)
+ implicit none
+ integer inum,inum1,inum2,inumm
character*10 huj /'0123456789'/
character*(*) numm
inumm=inum
return
end
character*(*) function ucase(string)
+ implicit none
integer i, k, idiff
character*(*) string
character*1 c