Page 1 of 1

How to make a Loop working?

Posted: Tue Dec 02, 2008 2:34 am
by huawei
Please, if anyone could help me out with the loop in the statement I'm trying to make work.
I have the script as follows:

a. Some Actions after which goes step b.
b. IF A=B THEN should be repeated Actions made in step a. ----- How to make this Loop???
c. ELSE some different Actions and then STOP.

How to repeat Actions made in step a. while A=B ???
Thank You!

How to make a Loop working?

Posted: Wed Dec 03, 2008 12:50 am
by Oleg
What is the problem?
You may use infinite loop.
Look at the following algorithm:

While loop True=True
   If {A} = {B} then
      do something
   else
      do something else
      break
   end if
end loop