anchor.diff:        call pskip(kr)
    40   continue
           read(kr,*,end=10,err=30) n,idhist,(diforc(j),j=1,ndof)
  -        numdif=numdif+1
  +        numdif=numdif+ione
           go to 40
   c
   c...  normal return
  
positive.code: c         0:  No error
  c         1:  Error opening input file (no exception should be raised
  c             in this case since a differential force file is optional)
  c         2:  Units not specified (not yet used for this routine)
  c         3:  Read error
  c
        include "implicit.inc"
  c
  c...  subroutine arguments
  c
        integer ndof,numslp,numdif,kr,ierr
        character difile*(*)
  c
  c...  local variables
  c
  
negative.code: c...  read error
  c
   30   continue
          close(kr)
          ierr=3
          errstrng="scan_diff"
          return
  c
        end
  c
  c version
  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
  