Until command

Got a problem you cannot solve? Try here.
Post Reply
SITL
Posts: 116
Joined: Tue Sep 27, 2016 12:31 am

Until command

Post by SITL »

Dear Francesco,

Can you please tell me the correct use of Until command ?
Sorry for very basic question.

Regards
SITL
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Until command

Post by FrancescoT »

Dear SITL,

this is really simple;

Code: Select all

Set Variable Count to 0
 
repeat
 MessageBox: Repeat test, Count = $Count$
 Count = $Count$ + 1
until Variable Count Greater Than 5
 
MessageBox: Repeat test, Completed
The Until command is used to end a loop after performing an evaluation. The loop ended using this command must have been started using the Repeat command. If the evaluation is unsuccessful, one more iteration of the loop will be executed. Upon the ending of each iteration, the loop condition will be re-evaluated, and the loop re-executed until the conditional succeeds.
Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply