Punctuate a List Using a Computation Variable

When you use a computation to generate a repeated list, you can use the FORMAT instruction to punctuate the list in sentence style.

To punctuate a repeated list in a computation

  1. Create a Computation variable that contains your REPEAT instruction. (See Create a REPEAT Instruction Using a Computation Variable.)
  2. Drag FORMAT "LIST_FORMAT" from the Instruction models list into the Script field on a line of its own, after the REPEAT instruction but before the RESULT expression.
  3. Replace the LIST_FORMAT placeholder with a punctuation format (such as "A, B, and C"). An example would be:

""

REPEAT Tour Information

FORMAT "a; b; and c"

RESULT + Name of City + ", " + Venue

END REPEAT