The package provides a command \forloop for doing iteration in LaTeX macro programming.