Itoo Software Forum

Author Topic: Loops in Expressions  (Read 639 times)

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Loops in Expressions
« on: August 09, 2023, 03:28:00 PM »
I'm not a programmer and I'm using expressions on a basic level but sometimes I have a need for loops like:
for i=1 to 10 do, or while i<10 do;
It will help to solve some problems when checking some stuff before we enter "RETURN" and go for the Final output expression.
At the moment I can only use counters (Segment/Array Counters)  to mimic some kind of loops.
Thank You.

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4396
    • iToo Software
Re: Loops in Expressions
« Reply #1 on: August 10, 2023, 08:45:35 AM »
It could be done, but also has some risks.
A wrong loop would cause a performance hit, or even lock completely the style evaluation process (an infinite loop).

Thanks for your suggestions.
Carlos Quintero
iToo Software