Move ''if <>, then (), else ()'' to operators

please move ''if <>, then (), else ()'' to operators.untitled script pic

Why, exactly? It is in the control section because it is a control block. After all, it is the same thing as the command If-then-else block, except that it does not execute commands, it reports a value.

Why it should be in Control: the other if blocks are in Control
Why it should be in Operators: it does the same thing as the ternary operator

In many languages one can do the equivalent of an "if" operator using and, or, and not. E.g.

untitled script pic (2)

But in Snap! the values are coerced into boolean values.

One argument for the "if" operator to be in control is that it doesn't evaluate all its arguments - but then "and" and "or" should also be in control.

And many languages support "conditional operators" - https://en.wikipedia.org/wiki/Conditional_operator

I may not have authority to make you, but please for your own security: in your profile please remove your age. I don't want your (or anyone else's) age out.

Who are you talking to?

theeric132

Theeric's profile page is hidden.

it wasn't for a minute he said his age was censored