[ library(range) | The ECLiPSe Libraries | Reference Manual | Alphabetic Index ]

var_range(?Var, -Lo, -Up)

Retrieve the current range of a variable (or number).
Var
A variable or number
Lo
Lower bound
Up
Upper bound

Calling Modes

Description

Retrieve the current range of a variable (or number). Lo and Hi return the minimum and maximum (respectively) of the variable's range in floating point format (regardless of the variable's type). If Var has not been declared before, it will be turned into an unrestricted real variable. If Var is a number, that number will be returned as both Lo and Hi.

Fail Conditions

Var is not a variable or number.