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).

returnreturnreturnReturnReturn (Operator)

Name

returnreturnreturnReturnReturn — Terminate procedure call.

Signature

return( : : : )

Herror return()

Herror T_return()

Herror return()

void HOperatorSetX.Return()

static void HOperatorSet.Return()

Description

returnreturnreturnReturnReturn terminates the current procedure call and returns to the calling procedure. Program execution is continued at the next active program line after the procedure call in the calling procedure. If the current procedure is the main procedure, program execution is finished and the program counter jumps to the end of the program. Note that every procedure except the main procedure has to contain at least one reachable returnreturnreturnReturnReturn operator line in order to be able to return from a call to the procedure.

Result

returnreturnreturnReturnReturn always returns 2 (H_MSG_TRUE).

Module

Foundation


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