Slot type 112 not working

As in the update of 10.0.0 or more, input types have been added, but one that has always confused me was the upvar. while I know how to use it, the 'script variables' block before version 10.0.0 had the slot type of 112 but now has the slot type of 14.

slot type for 10.0.0 and above

slot type for below 10.0.0

I am using the slot type 112 because slot type 14 can't provided;

  1. List size max
  2. Default
  3. Starting list size

While I am able to use slot type 112 in 10.0.0 and above, when I use the upvar it errors and says it doesn't exist.

I think you can see what I am trying to build.

Someone please help.

I can't reproduce what you're claiming, slot type 112 totally works for me, including setting all the other properties such as min/max inputs, initial slots, defaults etc. etc. and it totally does create the local variables.

the problem is not making it, the problem is using the local variables

Semi-related but do you people not see the "reply" button under every comment?

yes I lnow how to use it

Then why not reply to him?

don't know pressed the wrong button

This does not work for me
untitled script pic - 2024-08-27T154647.221
image

My test script pic

untitled script pic - 2024-08-27T154835.849

yep, variadic variable templates reports a list of texts which are the labels on the blobs. We're using this inside Snap for different kinds of scope (such as the new OOP system we're working on). But you can use the extension block to declare the variables yourself:

and then it does work :slight_smile:

Thank you so much. I really do appreciate the help.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.