General Type of Array Generation

$Repeat allows the user to create an array based on nested pattern call. It has four parameters:

  1. Minimal sequence length, default is 1
  2. Maximal sequence length, default is 1
  3. Quote char, empty string means no quote required
  4. Delimiter, empty string means comma
  5. Nested pattern engine expression or function call.

Note: use extra () if the nested expression has comma(s).

Examples

  1. $Repeat(1,5,,,$Rint()) - 1 to 5 random integers delimited by comma, no quotation
  2. $Repeat(3,3,,*,XXXX) - array of 3 hexadecimal blocks (four digits per block), no quotation. The values are separated by '*' like 'AB67*905D*452C'