Jump to content




[[ In Lua


  • You cannot reply to this topic
3 replies to this topic

#1 hbomb79

  • Members
  • 352 posts
  • LocationOrewa, New Zealand

Posted 18 January 2015 - 12:23 AM

Been looking through some programming and found this [[.

It used in a table construct like so

local apis = {
['window'] = [[
--#Api Stuff in here
]]
}

I assume it registers it as an API or something, anyone got any ideas what the [[ symbols do?

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 18 January 2015 - 12:24 AM

http://lua-users.org...StringsTutorial

#3 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 18 January 2015 - 12:25 AM

The Reference Manual might know.

#4 hbomb79

  • Members
  • 352 posts
  • LocationOrewa, New Zealand

Posted 18 January 2015 - 12:26 AM

Thanks, I was looking for that stuff in the arrays section, thinking it had something to do with tables.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users