1. I downloaded the in game interpreter and typed in the program on page 310. Right off on line one i am getting this error message:

    [string "WowLua"] :1: unexpected symbol near '<'

    There are no symbols placed there other than the string of code exactly as shown in the book. What gives??

    I downloaded the in game interpreter and typed in the program on page 310. Right off on line one i am getting this error message:

    [string "WowLua"] :1: unexpected symbol near '<'

    There are no symbols placed there other than the string of code exactly as shown in the book. What gives??

    That isn't Lua code and as such cannot be run in an interactive interpreter.  The difference between Lua scripts and XML code should have been made clear with the first 10 chapters or so.  What you are referring to is an XML file which needs to be parsed and run by the WoW client.  If you read the text immediately before that example:

    "For this example, you need to create a new addon called DropDownTest.  Create the basic addon skeleton including DropDownTest.lua and DropDownTest.xml."

    It then goes on to ask you to write the listed code in the file DropDownTest.xml.  I'm not sure why you're trying to type it into the Lua interpreter?