package require Utils
Utils::isInRange low high val
Utils::listElementsInRange low high list
Utils::sequence start n ?inc?
Utils::isInRange low high val
Returns a boolean that is true if
val
is in the range
[low
, high
]
Utils::listElementsInRange low high list
Returns a possibly empty list of values from
the list of values list
that
are in the range
[low
, high
].
Utils::sequence start n ?inc?
Returns a list (sequence) of
n
integers that
begin with start
. Each
value in the sequence is derived from the prior value
by adding inc
. If
the optional inc
is not
present, it defaults to 1.