**(repeated: // [[harlowe:Number|Number]], ...Any//) -> //[[harlowe:Array|array]]//**

When given a [[harlowe:number|number]] and a sequence of values, this macro produces an [[harlowe:array|array]] containing
those values repeated, in order, by the given number of times.

=== Example usage: ===

  * ''%%(repeated: 5, false)%%'' produces ''%%(a: false, false, false, false, false)%%''
  * ''%%(repeated: 3, 1,2,3)%%'' produces ''%%(a: 1,2,3,1,2,3,1,2,3)%%''

=== Rationale: ===

This macro, as well as [[harlowe:range|(range:)]], are the means by which you can create a large array of
similar or regular data, quickly. Just as an example: you want, say, an array of several
identical, complex [[harlowe:datamap|datamap]], each of which are likely to be modified in the game,
you can use (repeated:) to make those copies easily. Or, if you want, for instance, a
lot of identical [[harlowe:string|string]] accompanied by a lone different string, you can use (repeated:)
and add a ''%%(a: "string")%%''to the end.

When you already have an array variable, this is similar to simply adding that variable
to itself several times. However, if the number of times is over 5, this can be much
simpler to write.

=== Details: ===

An error will, of course, be produced if the number given is 0 or less, or contains a fraction.

If you wish to repeat a string multiple times, please use [[harlowe:str-repeated|(str-repeated:)]].

=== See also: ===

[[harlowe:a|(a:)]], [[harlowe:range|(range:)]]