anchor.diff:  c...  read error
   c
    30   continue
  +        close(kr)
           ierr=3
  -        close(kr)
  +        errstrng="scan_diff"
           return
   c
         end
   c
   c version
  -c $Id: scan_diff.f,v 1.1 2004/04/14 21:18:30 willic3 Exp $
  +c $Id: scan_diff.f,v 1.2 2004/07/12 19:47:26 willic3 Exp $
   c
   c Generated automatically by Fortran77Mill on Wed May 21 14:15:03 2003
   c
  
positive.code: c
  c...  open input file
  c
        ierr=0
        numdif=0
        if(numslp.eq.0) return
        open(kr,file=difile,status="old",err=10)
  c
  c... scan the file, counting the number of entries.
  
negative.code:       call pskip(kr)
   40   continue
          read(kr,*,end=10,err=30) n,idhist,(diforc(j),j=1,ndof)
          numdif=numdif+ione
          go to 40
  c
  c...  normal return
  