I need a non-javascript alternative script for my game.
this script clean all variable in one step (60 variables)
(vide) is just a void bloc
I need a non-javascript alternative script for my game.
this script clean all variable in one step (60 variables)
(vide) is just a void bloc
Sorry, I don't know how to help you with that.
@bh probably knows, though.
You really want to use a single list, not individual variables. If you need to keep track of names, use a dictionary (check out assoc in the list utilities, made by @bh). Don't putz around with JS and meta programming. You wouldn't do that - even think about - doing that in Python of Java or C, how come y'all want to do that in Snap?
welcome back @gego51
Snap! has some strange and nonintuitive notion of variable reference
For variable name stored as string with built-in "Create variables" library
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.