A Question About LUA, Please

Peer support for Air Manager desktop users

Moderators: russ, Ralph

Message
Author
The Artful Dodger
Posts: 204
Joined: Sat Jul 09, 2022 3:20 pm

Re: A Question About LUA, Please

#11 Post by The Artful Dodger »

Hello, Tetrachromat:

I have actually found the error and it came before
the issue is that with A[3][1] = 9.
The error occurred at A = {{}, {}}. This only defined 2 levels, A[1] and A[2]. As I mentioned in a later message, it should have been A = {{}, {}, {}, {}, {}, {}, {}, {}, {}} to give me the 9 levels I was looking for.

That said, I have no reason to believe that your approach is more elegant! Thanks and I'll keep that snippet on file.

Sparky

Post Reply