BlocklyProp - referring to blocks by name. Establish a standard?
John Kauffman
Posts: 653
It is not easy to paste an image of a program into a forum post here. So I expect that in posts we will do a lot of referring in text to blocks by name. And at a greater scope, refer to a stack of blocks. It will be useful to standardize. This will also help me in educational materials. goals:
We could use the full text as written on the blocks but some blocks don't have text and for others it is cumbersome.
I saw somewhere that Parallax would establish standard names for blocks. I'm assuming those will be full names, not abbreviations.
To throw out an idea, what about some abbreviations that are a combo of what is written on the blocks, purpose, first few characters of category and maybe parentheses for arguments? I know is cumbersome, but seems better than alternates that I can think of.
Examples:
Comm/term/printT("hello",lineOn)
Var/new("myNumber")
Comm/term/printN(varMyNumber,dec,lineOff)
Pin/make(26,high)
Con/rep("countStudents",1,10,1){
Keep short
It would be useful to include category and subcategories so the block can be found
It would be cool to have syntax to indicate the values for arguments
It would be useful to include category and subcategories so the block can be found
It would be cool to have syntax to indicate the values for arguments
We could use the full text as written on the blocks but some blocks don't have text and for others it is cumbersome.
I saw somewhere that Parallax would establish standard names for blocks. I'm assuming those will be full names, not abbreviations.
To throw out an idea, what about some abbreviations that are a combo of what is written on the blocks, purpose, first few characters of category and maybe parentheses for arguments? I know is cumbersome, but seems better than alternates that I can think of.
Examples:
Comm/term/printT("hello",lineOn)
Var/new("myNumber")
Comm/term/printN(varMyNumber,dec,lineOff)
Pin/make(26,high)
Con/rep("countStudents",1,10,1){
Comm/prot/i2cSend(byte,1,12)
} //end rep
Comm/prot/i2cSend(byte,1,12)
Comments
This content is still under construction, but is accessible to the public.
http://learn.parallax.com/support/reference/scribbler-3-robot-block-reference
http://learn.parallax.com/support/reference/activity-board-wx-block-reference