This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
tfoote's profile picture

print()

Started by tfoote, 05 July 2012 - 10:41 PM
tfoote #1
Posted 06 July 2012 - 12:41 AM
I keep seeing code with something like

print(id .."blah".. blah)
Can somebody please explain the ".." DOTS!?!?!
MysticT #2
Posted 06 July 2012 - 01:05 AM
It's the concatenation operator, read more on the lua manual.
It's not really needed in print statements, but it's useful in other situations.