LOOP when input is NOT an array

LOOP seems only take “Input Array”, but what if we don’t have an array to loop with? How can we do a loop in WM such as “FOR i=0 to 5” or “DO WHILE i<iStringLen”, etc.?

Thanks!

Can you use a REPEAT?

Create an endless loop with REPEAT (repeat-on=SUCCESS).
Inside the loop, include a BRANCH condition that will break from the loop (EXIT $loop).

Hi, Adam, I believe that will work. Thanks for the smart suggestion.