Closed corvus-albus closed 1 week ago
for those variables we need a place to define them. The only fixed block in functions is the function itself, but here we already define parameters. If we would have a declaration block it will be difficult to check where they are placed, e.g. after the first use, or in another function... Any ideas?
I first was a bit confused because in the start block the variables are called "variables", the parameters in the function block are called "varables" as well. I remember I had a look at the wiki page to understand the situation. I suggest to name the parameters "parameters" in the function block even if there is no further change.
I have just two idea:
Cheers corvus-albus
implemented in the feature branch nepo (new blockly)
no time to solve (Blockly update needed)
Hello!
It would be very useful to have "hidden" variables in functions. If you like to add for example a loop variable in a function there will be a useless input position at the function-block. In effect I see no possibility to create a non-input local variable in a function.
I think it would be very useful to have those hidden local variables in functions.
Keep up the good work. corvus-albus