BlocklyProp icon indicating copy to clipboard operation
BlocklyProp copied to clipboard

Can we support user functions that return a value soon?

Open PropGit opened this issue 7 years ago • 2 comments

There was a decision to only support global variables a while ago; I don't know the details.

Can we move to allow user functions to return a value and potentially support local values as well?

PropGit avatar Nov 07 '18 16:11 PropGit

New functionality can be addressed in the next roadmap meeting. Sticking a pin in this for that meeting.

zfi avatar Nov 07 '18 16:11 zfi

We've made blockly very powerful, within bounds...but these two requests specifically will require a higher level of conceptual understanding from our users, and my increase complexity beyond that of our intended audience.

The User defined block accommodates this to somewhat - but it's going to take some tutorials/videos to explain to users just how to use it that way. It also accommodates local variables, so there's that...

MatzElectronics avatar Nov 07 '18 19:11 MatzElectronics