Number Value

Description

This hook functor identifies a real (scalar) value with a numeric identifier so it can be used inside a container functor that expects one or more scalar inputs — most commonly one of the calculator family, such as Calculate Map. It performs no computation itself: the container inspects its Value and Value Number ports and registers the value under that number, making it available as v1 in the container's expression (verbose syntax — see below).

Inputs

Name	Type	Description
Value	Real Value Type	The value to be registered in the container.
Value Number	Positive Integer Value Type	The number by which the value will be known inside the container (e.g., 1 → v1). Enter this directly rather than connecting it from another functor's output — a connection is allowed but triggers a validation warning, since the identifier is meant to stay fixed and readable.

Outputs

This functor has no output ports; it only declares data for the enclosing container to pick up.

Group

Map Algebra (Suppl.)

Notes

Purpose as a placeholder

Number Value only stores the value and the number under which it should be registered. The container it is placed inside inspects those ports and performs the actual registration.

Valid containers

Number Value can only be placed directly inside one of the following container functors:

Calculate Map

Calculate Categorical Map

Calculate Lookup Table Values

Calculate Value

Create String

Calculate R Expression

Calculate Python Expression

Calculate Lookup Table Keys And Values

Placing it inside any other functor is not supported and will fail validation.

Referencing the value in an expression

Once registered, the value is available inside the container's expression as vN (e.g., Value Number = 1 → v1). This applies to the verbose syntax only. The separate abbreviated syntax eliminates hook functors like Number Value entirely, referencing each connected input directly by its port name instead — see Calculator functor shorthand.

Visual banner

Once Value Number is set, the sketch banner shows #N; once the value itself is known it reads “Value #N is X” (e.g., “Value #1 is 42”), making the variable easy to identify in the model diagram.

Internal Name

NumberValue

Usage examples

Connecting data inputs in the Calculate Map documentation — shows Number Value exposing a scalar as v1.