ANYBLK is a program for the refinements of the structural parameters in the singlecrystal X-ray analyses. The program is controlled by a text file, containing instructions that can be easily understood. By using the instruction file, various conditions can be imposed on the refinements. The program has a powerful ability in treating rigid bodies: an atom can belong to more than one rigid group. Other related programs that can be used with ANYBLK are also described.