Jump to content




print()


  • You cannot reply to this topic
1 reply to this topic

#1 tfoote

  • New Members
  • 134 posts
  • LocationSalt Lake, UT

Posted 05 July 2012 - 11:41 PM

I keep seeing code with something like
print(id .."blah".. blah)
Can somebody please explain the ".." DOTS!?!?!

#2 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 06 July 2012 - 12: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.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users