anchor.diff:  c
   c...  open input file
   c
  -      ierr=0
  -      numnp=0
  -      nget=1
  +      ierr=izero
  +      numnp=izero
  +      nget=ione
         open(kr,file=cfile,status="old",err=20)
   c
   c...  get coordinate units, returning error 2 if they aren't found.
   c
  -      call get_units(kr,ierr,nget,units_defined,units,def)
  -      if(ierr.eq.2) return
  +      call get_units(kr,nget,units_defined,units,def,ierr,errstrng)
  +      if(ierr.ne.izero) return
         coord_units=units(1)
   c
   c... scan the file, counting the number of entries.
  
positive.code:  20   continue
          close(kr)
  	ierr=1
          return
  c
  c...  read error
  c
   30   continue
          ierr=3
          close(kr)
          return
  c
        end
  c
  c version
  c $Id: scan_coords.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: c     Error codes:
  c         0:  No error
  c         1:  Error opening input file
  c         3:  Read error
  c         5:  Units not specified
  c
        include "implicit.inc"
  c
  c...  parameter definitions
  c
        include "ndimens.inc"
        include "nconsts.inc"
  c
  c...  subroutine arguments
  c
        integer numnp,kr,ierr
        character coord_units*(*),cfile*(*),errstrng*(*)
  c
  c...  local constants
  c
        character def(1)*11
        data def/"coord_units"/
  