Monday, June 2, 2008

[ - Coding - ] Functions

Something I do with Functions to help me remember where and what they do. It's probably something you have already thought of.




function Talk($somebody)
{/* Brief description of the function(pages where we implement this feature)
var $somebody - does something
*/
echo $somebody . " asked you to join the forces";
}



I am using the comments to organize it better. It feels cleaner without all that text in functions.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home