BlocklyProp icon indicating copy to clipboard operation
BlocklyProp copied to clipboard

Make Array_initialize block accept symbolic constants

Open PropGit opened this issue 7 years ago • 1 comments

Similar to Issue #1573, let's make the array initialize block accept a symbolic constant or constant expression.

PropGit avatar Oct 08 '18 21:10 PropGit

Unlike the string_variable_length block, this one would require the creation of a new block or the addition of a dropdown that lets you specify how you want to define it - number of constant. OR change it to a dropdown with some predefined values, other, and named constants all together like below, and then if they choose other, it changes to a number field:

  • 5
  • 10
  • 20
  • other
  • CONSTANT1
  • CONSTANT2 ...etc.

MatzElectronics avatar Oct 12 '18 15:10 MatzElectronics