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
here.
Beware the grue!
Dark.
---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [email protected].
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of the list,
please send E-mail to [email protected].