lua string question

Ok i want to make something like this"Local temperature temperature = "3" + ";" + "3"
so temperature = 3;3
i got lua error code

Thanks
Mike

Try 3 … “;” … 3

  • Garrett

There is a special place in the ninth circle of the underworld for the person who first thought to repurpose “+” for string concatenation.

Yes indeed, especially as…

NumberOfTheBeast = 3 + "3" .. "3" + "3" .. "3" + 3

(= 666), works so well!!