NS2: School of LUA

13»

Comments

  • Thraka2Thraka2 Join Date: 2002-12-03 Member: 10426Members
    <!--quoteo(post=1758031:date=Mar 8 2010, 07:56 AM:name=Advert)--><div class='quotetop'>QUOTE (Advert @ Mar 8 2010, 07:56 AM) <a href="index.php?act=findpost&pid=1758031"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->There is syntax sugar for OOP in Lua:

    [code]A = {}

    function A:stuff()

    end

    ....
    ....<!--QuoteEnd--></div><!--QuoteEEnd-->

    Thanks for that! I've never read LUA before but I totally understand what was going on in there.
Sign In or Register to comment.