Until command

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

Until command

Postby SITL » Fri Apr 07, 2017 6:33 am

Dear Francesco,

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

Regards
SITL

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Until command

Postby FrancescoT » Fri Apr 07, 2017 11:59 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 32 guests