1. I'm coding in, verbatim, what's on the top of this page:

    local PlayerFramePlus = {}

    -- This is commented out code.

    function PlayerFramePlus:Initialize()

        Message("PlayerFramePlus Loaded!")

    end

    PlayerFramePlus:Initialize()

    When I run it I get an error on load on line #4.  The "function PlayerFramePlus:Initialize()" line.  What am I missing or doing wrong.  I tried spaces before/after the semicolon, change case, everything I can think of. 

    Please advise!  Thanks!

     

    I'm coding in, verbatim, what's on the top of this page:

    local PlayerFramePlus = {}

    -- This is commented out code.

    function PlayerFramePlus:Initialize()

        Message("PlayerFramePlus Loaded!")

    end

    PlayerFramePlus:Initialize()

    When I run it I get an error on load on line #4.  The "function PlayerFramePlus:Initialize()" line.  What am I missing or doing wrong.  I tried spaces before/after the semicolon, change case, everything I can think of. 

    Please advise!  Thanks!

     

    I'm sorry, I didn't include the error I'm getting...I'm tired:

    "Attempt to index global 'PlayerFramePlus'  (a nil value)"

    Hope that helps.  Again, I'm sorry I didn't include that in my original post.

    I finally got it!  Managed to have a tiny case typo in there.  Had my wife look it over cuz my eyes were getting stupid.

     

     

    I believe the two references on p234 to the Message() function should be message(), with the lower case 'm'.

    Yes, this was a typographical error that snuck in during production.