A way to use dynamic variable names?
snippet in lua

A way to use dynamic variable names?

user9025

 varname = "myvar2"
 _G[varname] = 25
 print(myvar2) ---> 25