You can use the following relational operators:

The first four have equal precedence; the last two have equal but lower precedence. All are lower than arithmetic operators, so
x < limit - 1
means
x < (limit - 1)
as you might expect.
maspjw@