One way it could work, is 4 parameters
Iterator name, initial value,
Comparison combo box(greater than, less than, equal, not equal to, etc),
And final value
Then the iterator would be declared and behave as any local variable, to be manipulated through actions, and compared before each iteration