A practical computer program is described for Fisher's randomization one-sample and two-sample tests of location.Two heuristics permit most of the permutations to be counted implicitly rather than explicitly.The heuristics, together with careful program organization, yield a very efficient program.