Thank you @mIIwaukee, this info was very useful indeed! It helped me a lot
The forum software here seems to automatically change 2 dot/period/full stop characters (henceforth referred to as ‘dot characters’) to a special ellipsis character that the LUA editor does not understand!
So if you copy and paste the above code into the online LUA extension editor, it will fail to run, and it won’t tell you why! I wasted a good 30 minutes trying to figure out what was going wrong with, what appeared to be, well formatted LUA code!
But it wasn’t well formatted after all, because the forum software had automatically replaced ‘
..’ with ‘…’, and the LUA interpreter gave up as a result
LUA needs two individual dot characters to join separate strings in a
print statement such as this:
print ("This is a well formatted" .. " LUA print statement")
But if you’re posting on this forum and you happen to type ‘
..’ (two dot characters), the forum software will automatically substitute a fancy ellipsis character instead, thus breaking your code example!
print ("This is NOT a well formatted …
LUA print statement")
@martin Please take note! Thanks both.