Go to the documentation of this file. 1 subroutine getfn(filespec,lspec,name,lname)
8 integer lspec, index, lnstrg, lname, slash, dot, i
9 character filespec*(*), name*80
15 if (lspec .lt. 1) lspec = lnstrg(filespec)
16 dot = index(filespec(1:lspec),
'.')
23 if (filespec(i:i) .eq.
'/')
then
30 name = filespec(slash+1:dot-1)
subroutine getfn(filespec, lspec, name, lname)