value_number: boolean expression;
This slot contains a boolean expression that determines how the number of passed or returned values of a parameter is absolutely or relatively connected to the number of values in other parameters or some absolute values. The operators and functions listed in table 2.1 may appear within the expression.
| Group | Symbol | meaning |
| Unary Operators | ! | logical NOT |
| - | negation | |
| Binary Operators | && | logical AND |
| || | logical OR | |
| == | equal | |
| != | not equal | |
| > | greater | |
| >= | greater or equal | |
| < | less | |
| <= | less or equal | |
| + | sum | |
| - | difference | |
| * | multiplication | |
| / | division (DIV) | |
| % | rest of division (MOD) | |
| Functions | odd | true, if odd |
| even | true, if even | |
| ld | binary logarithm | |
| length | length | |
| number | number of values (only for assertion) | |
| width | (image-)width | |
| height | (image-)height | |
Table 2.1: Operators and functions used for the slots value_number and assertion.
Examples:
For output parameters this can be seen as an assertion. This may also refer to input parameters, e.g.: RegionOut <= RegionIn in connection with the HALCON operator select_shape expresses the fact that the number of output regions does not exceed the number of input regions.