Anatomy of a Repeat Block

<<*Repeat*!children!Return*one>> children were born of the marriage and their names are <<*Repeat(and)*!children!*[Child]>>


 Two sets of 'facing' angle brackets (the boundary characters) surround the core block.

 A !groupname! is used to tie two or more Repeat blocks together.

 The 'Return' call tells Pathagoras to 'return' the response when the repeat block is processed. If your response to the "How many . . .?" question is '3', then 'three' will be returned in place of the repeat block. (The 'style of the number to the right of the asterisk -- in this case 'one' -- is what controls what is returned. If, instead of 'one' the numeral '1' was present, and you selected '3' in response to the 'How many. . . ?' question, a '3' would have been returned.) More on this below.

 The administrative section is closed by a third asterisk.

 The 'one' in the first Repeat block indicates the 'style' of the return. In this example, the number will be typed out instead of it being the actual digit. If you use a digit, a digit will be returned.

 In the second Repeat block, the "(and)" tells Pathagoras to use commas as separators between a series of two or more repeated variables, the group name !children! ties back to the first Repeat block to obtain the value.

 [Child] is the variable that will be repeated 'X' number of times, each time incremented.

Created with Help & Manual 7 and styled with Premium Pack Version 2.70 © by EC Software