anchor.diff:  c
   c...  open input file
   c
  -      ierr=0
  -      icontr=0
  -      if(lastep.eq.0) return
  +      ierr=izero
  +      icontr=izero
  +      if(lastep.eq.izero) return
         open(kr,file=fofile,status="old",err=20)
   c
   c... scan the file, counting the number of entries.
  
positive.code: c
   30   continue
          ierr=3
          close(kr)
          return
  c
        end
  c
  c version
  c $Id: scan_fuldat.f,v 1.1 2004/04/14 21:18:30 willic3 Exp $
  c
  c Generated automatically by Fortran77Mill on Wed May 21 14:15:03 2003
  c
  
negative.code:       call pskip(kr)
   40   continue
          read(kr,*,end=10,err=30) iprint
          icontr=icontr+ione
          go to 40
  c
  c...  normal return
  c
   10   continue
          if(icontr.eq.izero.and.icode.eq.ithree) then
            ierr=3
            errstrng="scan_fuldat"
          end if
          close(kr)
          return
  c
  c...  error opening file
  c
   20   continue
  	if(icode.eq.ithree) then
            ierr=1
            errstrng="scan_fuldat"
          end if
          close(kr)
          return
  c
  