
Announcements
Anyone knows how to set a maximum value to a variable?
For example, variable count (int).
My guess is that the easiest way to implement this is to just do a if() check before you add to the variable, and if its above max, set it to the max.
Like this:
if(Value>10,Set(var,10),Set(var,Value);