BETWEEN Function

Purpose

Returns a bit(1) value that indicates whether x is between the values defined by a and b.

Syntax

x,a,b

Parameters

x, a and b are computational expressions.

Description

The BETWEEN built-in function is equivalent to the test (a <= x) & (x <= b). Therefore, if any of the parameters are numeric, they must be REAL.

Examples

Restrictions

None.