View Single Post
03-07-19, 06:31 PM   #1
fakesaint41
A Murloc Raider
Join Date: Mar 2019
Posts: 7
Beginner Question: "a,b = ..." At beginning of File

Been looking for an explanation, and I'm a bit stumped! I see something like:

Lua Code:
  1. local a, b = ...

at the beginning of people's scripts. I guess that WoW passes arguments to the chunk when it loads the file, but I'm not clear what those are and why they are useful. The first argument appears to be the name of the addon, and the second is a table of... something I don't know!

Can anyone explain whats going on here and why its useful?

Thanks!
  Reply With Quote