Comparison (integer) 69 is_between (integer) 10 .. (integer) 75 = false (2ms)


#1

Comparison (integer) 69 is_between (integer) 10 … (integer) 75 = false (2ms)

I think that says it all… I’m confused


#2

If
isBetween(integer(69),integer(10),integer(75))
Is equal to ‘true’
Then
Do stuff
End if

The isBetween part is entered as an expression/. That will return a true or false result. Watch your capitalization for the is equal to part. True does not equal true


#3

Sorry that was from my log!! That resulted in false.


#4

How are you writing the comparison?


#5

It was in the IF statement drop down boxes. IF variable(69) is between 10 and 75.

It wasn’t triggering and I couldn’t figure out why. So I turned on full logging. That’s what I found! So I changed and wrote it as an expression with the isBetween and it worked there.

EDIT: oddly when I went back into that statement the drop down for comparison was greyed out. So then I had the choice of inside of. So I don’t know what combo I originally picked to allow the “is between” originally. Just thought it was odd.


#6

Piston screenshot please


#7

#8

It’s no longer…but looks like we have an answer!