Appologies, but I'm stil a bit lost on returning  functions. 

Could someone please give me a blow by blow on this example from the tutorial 
sinse other than the alert function and the original void main I'm slightly 
lost with this one: 

void main()
int x=add_numbers(3, 5);
alert("Wow", "3 + 5 is... " + x + "!");
int add_numbers(int first, int second)
int result=first+second;
return result;

Really sorry for the question, ---- it might just be me being extremely stupid 

Beware the grue! 

Gamers mailing list __
If you want to leave the list, send E-mail to
You can make changes or update your subscription via the web, at
All messages are archived and can be searched and read at
If you have any questions or concerns regarding the management of the list,
please send E-mail to

Reply via email to