anchor.diff:    case("EMIN")
       if(nSplit.lt.2 .or. nSplit.gt.4 ) then
         write(lerr,"(a,i0)") "ELENS> ERROR Expected 2, 3 or 4 input parameters for EMIttance (Normalised) line, got ",nSplit-1
  -      write(lerr,"(a)")    "ELENS>       example:     EMIN  <emin> [min|max|ave|qve|geo] [ALL|BEFORE|AFTER]"
  +      write(lerr,"(a)")    "ELENS>       example:     EMIN  <emin> [min|max|ave|qve|geo] [ALL|BEF(ORE)|AFT(ER)]"
         iErr = .true.
         return
       end if
  
positive.code:   case("SIGDPP")
      if(nSplit.lt.2 .or. nSplit.gt.4 ) then
        write(lerr,"(a,i0)") "ELENS> ERROR Expected 2, 3 or 4 input parameters for SIGma Delta_P over P line, got ",nSplit-1
        write(lerr,"(a)")    "ELENS>       example:     SIDPP  <sigdpp> [min|max|ave|qve|geo] [ALL|BEFORE|AFTER]"
        iErr = .true.
        return
      end if
  
negative.code:           elens_sigdpp(tmpi1) = elens_sigdpp_def
          end do
          if(st_debug) write(lout,"(a)") "ELENS> Applying read normalised emittance to all e-lenses"
        case('bef','before')
          do tmpi1=1,nelens-1
            elens_emin(tmpi1) = tmpEmin
            elens_iSet(tmpi1) = tmpSet
  