ClassesClassesClassesClasses | | | | Operators

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

Use the tabs on the upper right to switch to a different programming language.

untiluntilUntiluntilUntilUntil (Operator)

Name

untiluntilUntiluntilUntilUntil — 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)

Herror until(const HTuple& Condition)

void Until(const HTuple& Condition)

void HOperatorSetX.Until([in] VARIANT Condition)

static void HOperatorSet.Until(HTuple condition)

Description

untiluntilUntiluntilUntilUntil ends a repeatrepeatRepeatrepeatRepeatRepeat..untiluntilUntiluntilUntilUntil loop. The repeatrepeatRepeatrepeatRepeatRepeat..untiluntilUntiluntilUntilUntil loop is executed as long as the ConditionConditionConditionConditionConditioncondition parameter evaluates to 'false'"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

ConditionConditionConditionConditionConditioncondition (input_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Condition for loop.

Result

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

Alternatives

forforForforForFor, whilewhileWhilewhileWhileWhile

See also

repeatrepeatRepeatrepeatRepeatRepeat, ififIfifIfIf, elseifelseifElseifelseifElseifElseif, elseelseElseelseElseElse, breakbreakBreakbreakBreakBreak, continuecontinueContinuecontinueContinueContinue

Module

Foundation


ClassesClassesClassesClasses | | | | Operators