Skip to main content


Command Description

First Perform Sentences Block, when using the Until, continue using the value of the Conditional Expression (Expression) when the value is false (not established), when the value of the Conditional Expression (Expression) is really (established) cycle

Command Prototype


Loop Until expression

Parameter Description

expressionTrueexpression1 > 0The expression used for judgment


TracePrint("----------------------------Execute the statement block first and exit the loop when the conditional expression is true------ ----------------------------") 
//[Remarks] When using Until , when the value of expression is false, continue to execute the Block statement block, and exit the loop when expression is true.
TracePrint("Let a=1, execute a to increment by 1 until a is equal to 10, exit the loop")
a = 1
a = a + 1
Loop Until a=10