Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How would I create a global table?

How would I create a global table to hold in global variables?

Tagged:

Comments

  • dave1707dave1707 Mod
    Posts: 7,807

    Any table not created as local should be global.

  • Posts: 18

    Just define a variable without local. e.g. in main setup.
    myTable = {}
    or local for the current scope (function) local myTable = {}
    or in a class self.myTable = {}

Sign In or Register to comment.