FANDOM


Syntax

REPEAT number list

Explanation

REPEAT runs the list of instructions in the second input the number of times indicated by its first input. The number input to REPEAT can be any positive number. If the number is not an integer, its fractional portion is ignored. REPEAT commands can be nested, or placed inside other REPEAT commands. See also FOR.

Examples

? REPEAT 5[PR[I WILL NOT BITE MY NAILS]]

I WILL NOT BITE MY NAILS

I WILL NOT BITE MY NAILS

I WILL NOT BITE MY NAILS

I WILL NOT BITE MY NAILS

I WILL NOT BITE MY NAILS

?

TO HEXDESIGN

REPEAT 12[REPEAT 6 [FD 40 LT 60] RT 30]

END

? HEXDESIGN
Pc logo 45

This is a result of the procedure.

?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.