HALCON Reference Manual 10.0.2
Table of Contents / Control ClassesClassesClasses | | | 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).

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

untiluntiluntilUntilUntil (Operator)

Name

untiluntiluntilUntilUntil — 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 HOperatorSetX.Until([in] VARIANT 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 HTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (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


Table of Contents / Control ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH