Highly-nested table is causing weird errors...

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
raidho36
Party member
Posts: 1947
Joined: Mon Jun 17, 2013 12:00 pm

Re: Highly-nested table is causing weird errors...

Post by raidho36 » Sat Aug 31, 2019 9:17 pm

Sounds to me like you never had any intention to use either LOVE or Lua and came here just to post your flimsy excuse not to do so. You could've simply never did it in the first place, or stopped doing it for no other reason than not wanting to. So what's the point of all this?

User avatar
ivan
Party member
Posts: 1530
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Highly-nested table is causing weird errors...

Post by ivan » Sun Sep 01, 2019 6:36 am

Sky_Render wrote:
Sat Aug 31, 2019 2:10 pm
It turns out it's due to a fundamental flaw in Lua's logic. Lua does not allow tables to be referenced more than 2 layers deep for whatever reason unless you use metatables.
I think you just need to read the Lua manual more carefully. The Lua language works perfectly and allows you to nest tables as much as you want - although like I mentioned before it's not very good practice to do that anyways.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests