Comparing values

waterwanter
27 May 2021, 16:22

In Squiffy, how can you compare a value with a variable? For example if 4 is greater than variable then (display text)


mrangel
27 May 2021, 17:29
{if myVariable<4:Attribute is less than 4. Or 4 is greater than the attribute. Same thing.}

waterwanter
27 May 2021, 17:55

Thanks!


Mr.Dot
01 Jun 2021, 17:07

Yeah, it would just be a > or < sign


Bluevoss
08 Jun 2021, 12:33

And it's best not to put spaces around the operators. I seem to recall that could make problems...