The Notation Editor - Repetition

A repetition is used to specify a repeat count for a statement.

Please note: Repetitions are available only, if quarter turn face twists or permutations are enabled.

The «Repetition» checkbox:

Tick this checkbox to enable support for repetitions by the notation.

When this checkbox is ticked, then additional fields are shown below the checkbox.

«Repetitor Begin » and «Repetitor End» text fields:

Use these text fields to specify the keywords that denote the begin and the end of the repetitor.

Both fields are optional.

If you enter multiple words in a text field, then each word represents a keyword. The first word in a text field is used by CubeTwister for output of scripts in this notation.

«Position» radio buttons:

Use these radio buttons to specify the location of the repetitor.

If the position is specified as «Leading», then the repetitor is prepended to the statement. If the position is specified as «Trailing», then the repetitor is appended to the statement.

Example 1:

If you fill in the text fields as shown in the table below, then the statement «A» is repeated five times by specifying «repeat 5 times A».

Repetitor Begin:  repeat Repetitor End:   times 
Position: leading

Example 2:

If you fill in the text fields as shown in the table below, then the statement «A» is repeated five times by specifying «5 * A».

Repetitor Begin:  * Repetitor End:     
Position: leading

Example 3:

If you fill in the text fields as shown in the table below, then the statement «A» is repeated five times by specifying «A 5».

Repetitor Begin:    Repetitor End:     
Position: trailing