API int
LQU_NumberWithinRange
(n, Range)
CONST int n;
CONST t_Range *Range;
Purpose
Determine whether a given number, n, falls within a given range.A range is a list like `-4,12-30,40,100-', to match
1, 2, 3, 4, 12, 13...29, 30, 40, 100, 101, 102, ...
A space can be used instead of a comma. The range "all" generates the range `-1,2-', matching all numbers
Returns
- 1 if the n is within (matched by) the given range
- 0 otherwise