1: Is it possible to define a variadic function (a function you can call with any number of parameters)?
Essentially, I want the UI the array block provides (
- to add/remove slots) without requiring embedding an array parameter within my block.
2: When I do use an array as a stand-in for the above functionality, I notice that the default behavior is to create an array with two elements of the same value.
Similar to this code from @richard’s BlockObject extension, I’m doing
//% value.shadow="lists_create_with" //% value.defl=<a reference to my own kind shadow block>
But the array starts out with two elements with the same value. Is there a way to influence what the array element values are when specifying
lists_create_with and a custom