The OpenD Programming Language

Abort.onUpperBound

Called automatically upon a bounds error.

struct Abort
static
T
onUpperBound
(
Rhs
T
)
(
Rhs rhs
,)

Parameters

rhs Rhs

The right-hand side value in the assignment, after the operator has been evaluated

bound T

The value of the bound being violated

Return Value

Type: T

Nominally the result is the desired value of the operator, which will be forwarded as result. For Abort, the function never returns because it aborts the program.

Meta