[Tutor] Silly Dice Game
John Connors
oztriking at hotmail.com
Sat Apr 29 15:13:23 CEST 2006
G'day John,
>If I were you, I would look at separating more of my program out into
>functions. Good use of functions will make your program more
>readable, easier to debug, and easier to change, should the rules of
>your dice game change :-)
Yes, the rules change on a regular basis, usually by the wife when I start
to win :)
>Do you understand what is going on there?
Some of the commands are new to me but I think I understand what's going on.
I was assuming that functions were only really useful if they were used more
than once but I see what you mean about them making a program easier to read
and debug.
Thanks.
John
_________________________________________________________________
1000s of Sexy Singles online now at Lavalife - Click here
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D22031&_t=751140432&_m=EXT
More information about the Tutor
mailing list