The transition from the lattice to the continuum: CP(N-1) models at large N