Name forseq_in_do_
Definition forseq (v:var(scalar)) in (r:val(range(int))) do (e:expr(void)) : expr(void)
Example forseq i in 0 to 9 do print(i)
Defined in ctrl.l
Implementation lard
Infix forseq_in_do_ : infix(60,none).
Description Evaluate body expression once for each value of the variable between the left and right values of the range r, inclusive. forseq counts down if left_index > right_index and up if left_index < right_index. It isn't possible to call forseq in such a way that the body is evaluated zero times.