Sequence Function

$Sequence or $Seq allows you to use same generated data a few times. There are two parameters:

  1. Pattern.
  2. Counter*. Integer, 1 or greater.

* - the function call (like $Pattern) is acceptable for 'Initial value' and 'Step' instead of constant. Performance warning: it can work a few times slowly for complex cases.

Examples

  • $Seq(A{=3},5) - generates value for 'A{=3}' pattern and returns it 5 times, generates next value...
  • $Seq(A{=3},$Vars(#Counter)) - the function uses #Counter local variable for counter.