Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Testing a variable within a range
#2
No, there's not an alternative way. That said, short circuit evaluation is also on the way. In the mean time, if you want more speed, you can do:
Code:
IF a > 0 THEN
    IF a < 30 THEN
      ...
    END IF
END IF

Despite being more verbose, it's more efficient (speed).
Reply


Messages In This Thread
RE: Testing a variable within a range - by boriel - 01-28-2022, 11:19 AM
RE: Testing a variable within a range - by boriel - 03-13-2022, 11:38 AM
RE: Testing a variable within a range - by boriel - 03-14-2022, 08:50 AM
RE: Testing a variable within a range - by boriel - 03-14-2022, 09:49 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)