anchor.diff:   40   continue
           read(kr,*,end=10,err=30) n,(iwink(j),j=1,ndof),
        &   (wink(j),j=1,ndof)
  -        nwinke=nwinke+1
  -        nnz=0
  +        nwinke=nwinke+ione
  +        nnz=izero
           do j=1,ndof
  -          if(iwink(j).ne.0) nnz=nnz+1
  +          if(iwink(j).ne.izero) nnz=nnz+ione
           end do
           nwink=nwink+nnz
           go to 40
  
positive.code: c
  c...  open input file
  c
        ierr=0
        nwinke=0
        nwink=0
        open(kr,file=wfile,status="old",err=10)
  c
  c... scan the file, counting the number of entries.
  
negative.code: c
   30   continue
          ierr=3
          errstrng="scan_wink"
          close(kr)
          return
  c
        end
  c
  c version
  c $Id: scan_wink.f,v 1.2 2004/07/12 20:21:11 willic3 Exp $
  c
  c Generated automatically by Fortran77Mill on Wed May 21 14:15:03 2003
  c
  