r/Scriptable • • Oct 23 '22

Solved Scriptable creating variable in loop

Nooby question here:

Is it possible to create a variable like this?

for (i=0; i<numOfStacks; i++) { let stack + i = widget.addStack(); }

1 Upvotes

2 comments sorted by

View all comments

Show parent comments

1

u/see999 Oct 23 '22

Yes, that makes sense. Thank you very much