I have the retail EV3 kit and have created a function with in and out numeric parameters.
While using the [in] params seem quite straight forward, it seems that I can only set the [out] param once. Dragging a second wire from a constant or variable will not connect when I place them.
Can I only set an [out] param once?
Does setting the [out] param act like the "return" keyword?
I have had a look around, but there is very little help on the EV3 My Blocks at present.
Bad, but simple example:
Please note that this is a simplification of the problem, and in this case I could set x to -1 or have another case in the sensor switch to set x to -1. I am trying to explorer the limitations of EV3 My Blocks out parameters.