Wie Slouken im offiziellen UI & Macro Forum geschrieben hat, wird mit dem AddOn The Burning Crusade auch die Schnittstelle zur API Lua einem Update unterzogen. Mit dem AddOn wird die Lua-Version 5.1 Einzug halten. Die Änderungen zur bisher verwendeten Version 4.0 sind zwar teilweise marginal aber trotzdem gibt es einige Schmankerl
For the most part, this is a seamless transition, but there is one syntax change that will need to be made in a lot of addons:
for k,v in table do stuff end
changes to:
for k,v in pairs(table) do stuff end
Also, the main advantage of Lua 5.1 is the incremental garbage collection, and the full functionality of the 5.1 collectgarbage() function is available to the WoW scripting system.
Somit können sich auch die AddOn-Bastler unter Euch ein wenig mehr auf das kommende AddOn freuen
>>
ForenlinkQuelle: WorldofWar.de