TLO:Range

From the wonderful RedGuides Wiki

Access the range type to tell if n is inside a range of 2 numbers or between 2 numbers

This TLO is added by MacroQuest

Forms

Access to Types

Type Description
Range This DataType performs a simple test on n using the following members.

Examples

/echo ${Range.Inside[10,5:9]}

Returns TRUE since 5 and 9 are both within the 10 range.

/echo ${Range.Between[85,95:100]}

Returns FALSE since 85 is not a number between 95 and 100

See also