[Gatherer]Lua 5.1
  • MentalPowerMentalPower August 2006
    Platinum sponsor — “Wayward Traveler”
    Well the pirate has come thru again, this time with an often requested change. In the expansion WoW will be changed to use Lua 5.1 (http://forums.worldofwarcraft.com/thread.html?topicId=14682657)

    The only real problem here is the for loops
    for key, value in someTable do ... end
    Will NOTwork anymore. Instead, the following construct should be used
    for key, value in {i}pairs(someTable) do ... end

    I have not looked thru the Gatherer code to see if the former construct is used, but if it is, you should start changing them now.
  • EsamynnEsamynn August 2006
    ScopeStick™ Master
    Actually, I perfer the former construct and I will need to change my style. Anyways, I will go through the code a some point to make this update.
  • MentalPowerMentalPower August 2006
    Platinum sponsor — “Wayward Traveler”
    BTW, there are also additional changes over at the Development::Coding version of this thread.
Privacy · Advertising
Norganna's AddOns Network · World Of Minecraft · WoM Realms · Auctioneer Addon · Gatherer Addon · Addon Forums · RDRCT