Further to a forum topic on passing a variable by reference I'm wondering if blocks using unevaluated variables can be nested. Let me present an example showing what I mean.
First, a custom block using an unevaluated variable ("Any (unevaluated)", to be precise):
It works like you would expect, the variable itself is updated:
Now suppose a similar custom block (I'm calling it a wrapper) is going to outsource the actual work to another custom block that also takes an unevaluated variable as input:
This however does not work as (at least I) expected (or hoped for ):
I must be doing something wrong.
I tried several variations, involving RUN, CALL, grey rings, e.g.:
... but nothing worked:
Does anyone know how (or if) a wrapper like this can at all be implemented in Snap! ?