Join Now

Click here to join our
growing community:

JOIN LOGIN



Docs

Welcome Tour
Handbook
      Markups
      Variables
      Conditions
      Functions
      Forms
      Commands
      Concepts
Extensions
Pro Modules
Developers



Copyright © 2020
Terms of Use
Privacy Policy
BoltWire

Handbook

Between

This function requires three parameters and checks to see if the middle term is between the other two. If numbers, it will check the mathematical value, if letters, it will check it alphabetically. It can be forward or backward order.

The first two pass, the third one fails.

[if between 100 50 0]true[if]
[if between d {id} g]true[if]
[if between 1 7 3]false[if]

If the middle term matches either the first or last term, it will return true.

[if between 1 3 3]true[if]
[if between a a c]true[if]

For comparison purposes, numbers are considered lower than letters. So the first condition passes below, but the second one fails

[if between 5 7 c]true[if]
[if between c 5 7]false[if]