Talk:Writing Modules In C
From ASSS Wiki
Revision as of 15:59, 3 October 2006 by Grazzhoppa (talk | contribs) (Why do you need to declare a Link* named ink when using FOR_EACH_PLAYER macro?)
The example given for how to use the FOR_EACH_PLAYER macro doesn't show why you need a Link pointer named link!
The example just declares the variable, without initializing it to any value, and doesn't do anything with the Link pointer after that.
quote from article: "There is an ASSS macro, FOR_EACH_PLAYER, that will help us loop through every player. To use this macro we need: a Player* and a Link* named link."