Posted 29 August 2015 - 06:28 PM
Hey guys, so i wonder if you could do math with a table like this
The code above outputs "(10+5)*2"
But i wonder if somehow i could make it do the math, so it outputs "30"?
local temp = {
"(",
"10",
"+",
"5",
")",
"*",
"2"
}
print(table.concat(temp))
The code above outputs "(10+5)*2"
But i wonder if somehow i could make it do the math, so it outputs "30"?
Edited on 05 September 2015 - 09:12 PM