The Repeat command is used to build loops. The instructions between Repeat and EndRepeat are looped as many times as entered. The Repeat command is available via Cuelist context menu (right click → Insert → Repeat) or main menu (Insert → Repeat). A dialog box asks for the number of repeats. To create endless loops, enter 0 as value.
Next, fill the part between Repeat and Endrepeat with instructions. It is possible to move the Repeat or EndRepeat command via Cut (Ctrl+X) and Paste (Ctrl+V).