The repeat...until statement is used to run statements repetitively. The statements enclosed in the repeat statement are run, then the exit condition is tested. If the condition returns a false value, the loop is continued. If true is returned, the loop is exited.
repeat statements until boolexp
• statements – Any valid sanScript statements.
• boolexp – Any expression that can be evaluated as true or false, such as:
A=B Customer_Name="John Smith" A+B<C.