DataType:Range
This DataType performs a simple test on n using the following members.
This Data Type is referenced in MacroQuest, and accessed by Top-Level Object(s): Range
Members
Type | Member | Description |
---|---|---|
bool | Between[#1,#2:n] | is n Between the range of #1 and #2 both numbers included |
Inside[#1,#2:n] | is n Inside the range of #1 and #2 both numbers excluded |
Examples
.Between
- Returns TRUE
/echo Is 50 between 33 and 66?: ${Range.Between[33,66:50]}
- Returns False
/echo Is 25 between 33 and 66?: ${Range.Between[33,66:25]}
.Inside
- Returns TRUE
/echo Is 50 Inside 33 and 66?: ${Range.Inside[33,66:50]}
- Returns FALSE
/echo Is 33 inside 33 and 66?: ${Range.Inside[33,66:33]}