Does Gambas have a built in "InRange" function like this: Boolean = InRange(Value, From, To) If not, could we have one? Perhaps like this: Public Function InRange(Value As Integer, {From} As Integer, {To} As Integer) As Boolean If Value >= {From} And If Value <= {To} Then Return True Return False End