ClassesClasses | | Operators

Page not available for the currently selected syntax (programming language).

Page not available for the currently selected syntax (programming language).

Page not available for the currently selected syntax (programming language).

untiluntilUntilUntil (Operator)

Name

untiluntilUntilUntil — Continue to execute the body as long as the condition is not true.

Signature

until( : : Condition : )

Herror until(const Hlong Condition)

Herror T_until(const Htuple Condition)

void Until(const HTuple& Condition)

static void HOperatorSet.Until(HTuple condition)

Description

untiluntilUntilUntilUntil ends a repeatrepeatRepeatRepeatRepeat..untiluntilUntilUntilUntil loop. The repeatrepeatRepeatRepeatRepeat..untiluntilUntilUntilUntil loop is executed as long as the ConditionConditionConditionConditioncondition parameter evaluates to 'false'"false""false""false""false" (0). The body of the loop is executed at least once, because the condition will be checked at the end of the body.

Parameters

ConditionConditionConditionConditioncondition (input_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Condition for loop.

Result

If the values of the specified parameters are correct, untiluntilUntilUntilUntil (as operator) returns 2 (H_MSG_TRUE). Otherwise an exception is raised and an error code returned.

Alternatives

forforForForFor, whilewhileWhileWhileWhile

See also

repeatrepeatRepeatRepeatRepeat, ififIfIfIf, elseifelseifElseifElseifElseif, elseelseElseElseElse, breakbreakBreakBreakBreak, continuecontinueContinueContinueContinue

Module

Foundation


ClassesClasses | | Operators