F0zG0d Posted June 23, 2018 Share Posted June 23, 2018 Am I allowed to set a variable as another variable? For example: Var1=2 Var2 = Var1 And when I do that how would I go about searching and editing those variables? Link to comment Share on other sites More sharing options...
Administrators Enyby Posted June 23, 2018 Administrators Share Posted June 23, 2018 Start by studying the LUA. Your questions are too simple. https://www.lua.org/pil/contents.html Link to comment Share on other sites More sharing options...
uglyninja Posted June 23, 2018 Share Posted June 23, 2018 Var1 = Var2 This is ok, make sure your first define Var2 if you wanna do this. Something like that: Var2 = 'Hi' Var1 = Var2 print(Var2) -- prints Hi -- print(Var1) -- prints Hi -- end Link to comment Share on other sites More sharing options...
Question
F0zG0d
Am I allowed to set a variable as another variable? For example: Var1=2
Var2 = Var1
And when I do that how would I go about searching and editing those variables?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.