if I have ten int variables, what’s the best way to say “If a is greater than b-j, do this; if b is greater than a and c-j, do this” etc.
I was thinking maybe saying “if a>(b and c and d and e and f and g and h and i and j) {…}”, but I’m not sure if that would do what I want or if there’s a more efficient way. Thanks!
for the most part, yes, but I need to determine which of a set of variables is, at that point, the greatest. When I use the max function, it claims “macro ‘max’ passed xxx arguments, but takes just 2”
What do I do with that? Do I need to download xojo libraries and use Max (as opposed to global “max” )?