``` repeat with variableName = ¬ integer1 to integer2 statements end repeat repeat with variableName = ¬ integer1 down to integer2 statements end repeat ```
The statements in a repeat with structure repeat until a variable with an initial value of integer1 is greater than (or, in the case of down to, less than) the number integer2.

The value of the variable increases (or decreases) by 1 during each iteration of the repeat loop.

If HyperCard executes an exit repeat statement in the loop, it continues running the handler starting from the first statement after end repeat. If HyperCard executes a next repeat statement, it returns immediately to the beginning of the repeat loop and increases (or decreases) the value of the variable.