Yeah, that's true,and I would totally understand if the block had two or more upvars to set. But when there's one thing begging to be the output, I'd forgive side effects on the stage (as opposed to changing the values of variables).
Why do I use a command with a result put in an up-variable instead of using a reporter?
So the reason I do this is done to make code easier. Let's see on how do I feel when using code.
Which one is the best?
Using a command with the result put in an up-variable is used so we don't need extra code and we can use that up-variable and so you can make this code:
That saves time and reduce your code.
If we use a variable, this allows you to make things report based on answer. The only problem is, we need a variable to store its input, so if you do this, you have to store them, which consumes some time on coding:
This is why I use a command with the result on an up-variable, not a reporter.
can you make the block bring up the keyboard, and and a reporter block to return the answer instead of an upvar, kinda like the 'ask and wait' and 'answer' blocks?