DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR LUA
Lua dynamic variable name
local variablename = "var" _G[variablename] = "Hello world!" print(var) --> Hello world!
PREVIOUS
NEXT
Tagged:
#Lua
#dynamic
#variable
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit