Sfairadora

  • Reference Guide

pass_count

pass_count(ctl_var)
The parameter ctl_var is a control variable name of a for cycle. The operator returns the number of cycle passes executed so far. Thus, during the first pass, it returns 0, during the next, it returns 1, and so on. If the operator is used in an Enkidu template, it can be used to determine the number of passes of the Enkidu language for cycle, as well.
The return value is of the type Int.

See Also