# DataType:range

This DataType performs a simple test on *n* using the following members.

## Members

| **Type**                                                                           | **Member**              | **Description**                                                     |
| ---------------------------------------------------------------------------------- | ----------------------- | ------------------------------------------------------------------- |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md) | **Between\[**#1,#2:*n*] | is ***n*** Between the range of *#1* and *#2* both numbers included |
| [*bool*](/macroquest/data-types-and-top-level-objects/data-types/datatype-bool.md) | **Inside\[**#1,#2:*n*]  | is ***n*** Inside the range of *#1* and *#2* both numbers excluded  |

## Examples

### .Between

/echo Is 50 between 33 and 66?: ${Range.Between\[33,66:50]}

`Is 50 between 33 and 66?: TRUE`

/echo Is 25 between 33 and 66?: ${Range.Between\[33,66:25]}

`Is 25 between 33 and 66?: FALSE`

### .Inside

/echo Is 50 Inside 33 and 66?: ${Range.Inside\[33,66:50]}

`Is 50 Inside 33 and 66?: TRUE`

/echo Is 33 inside 33 and 66?: ${Range.Inside\[33,66:33]}

`Is 33 between 33 and 66?: FALSE`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://macroquest.gitbook.io/macroquest/data-types-and-top-level-objects/data-types/datatype-range.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
