use metamethods so you can dopropcases.quality = X table lookup is only a couple instructions, so there's no way it should require 1000 (that's an arbitrary limit anyway, if it becomes a problem it isn't that hard to work around)Doing some stuff along these lines is actually on my TODO list, but as you may have noticed, I've been able to devote much time to CHDK in the last couple weeks. I have several things in mind that will become standard lua modules in the CHDK distribution. Then people can just require what they need, and we don't have to bloat the chdk core.
Started by Johng General Help and Assistance on using CHDK stable releases
Started by TheJez « 1 2 » General Discussion and Assistance
Started by msl LUA Scripting
Started by fudgey Script Writing
Started by dan4307 Script Writing