01-27-2022, 08:14 PM
(This post was last modified: 01-27-2022, 08:20 PM by worcestersource.)
Hello!
I was wondering if there was a better way of testing whether a variable was within a range.
So instead of:
There was a neater and/or more memory efficient method? These sorts of tricks that can help us eke out every last drop out of zxbasic.
Cheers,
Steve
I was wondering if there was a better way of testing whether a variable was within a range.
So instead of:
Code:
IF a > 0 and a < 30 then...
There was a neater and/or more memory efficient method? These sorts of tricks that can help us eke out every last drop out of zxbasic.

Cheers,
Steve