1

I'm basing this off the idea that you can use a proxy table in order to track table accesses as seen here: http://www.lua.org/pil/13.4.4.html

But what if my data structure wasn't a 1 dimensional table but looked something more like this:

table = {
    Nuts = 2;
    Fruits = {
        Apples = 5;
        Oranges = 3;
    };
}

Is this possible at all?

user1826176
  • 309
  • 2
  • 14

0 Answers0