www.ClassicTW.com
https://mail.black-squirrel.com/

TWX Arrays Tutorial
https://mail.black-squirrel.com/viewtopic.php?f=15&t=23225
Page 1 of 1

Author:  ElderProphet [ Sat Sep 12, 2009 12:16 am ]
Post subject:  TWX Arrays Tutorial

I've posted the first part of a tutorial that I've been working on for a while here: http://www.twxscripts.com/twxarrays1
It's my attempt to teach array basics. There is more to follow, but I hope that some of you will have that "AHA!" moment as you read this.

And since while loops go hand and hand with array usage, I've provided clear and concise examples of iterating over an array using a while loop.

And believe it or not, part 1 even delves into multi-dimensional arrays and nested while loops, all within about 3 paragraphs. Wreckless, I know.

Have a read, and let me know if you learned anything.

+EP+

Author:  Crosby [ Sat Sep 12, 2009 7:25 am ]
Post subject:  Re: TWX Arrays Tutorial

Outstanding examples! Strong work EP !

Author:  Thrawn [ Sat Sep 12, 2009 10:27 pm ]
Post subject:  Re: TWX Arrays Tutorial

ElderProphet wrote:
I've posted the first part of a tutorial that I've been working on for a while here: http://www.twxscripts.com/twxarrays1
It's my attempt to teach array basics. There is more to follow, but I hope that some of you will have that "AHA!" moment as you read this.

And since while loops go hand and hand with array usage, I've provided clear and concise examples of iterating over an array using a while loop.

And believe it or not, part 1 even delves into multi-dimensional arrays and nested while loops, all within about 3 paragraphs. Wreckless, I know.

Have a read, and let me know if you learned anything.

+EP+


AHA!!! :)

Nice work. Very clear and concise, since it was you to teach me arrays in the first place when I was working on my ScoreKeeper script. I was reading this and going "hey, he said that exact thing to me as he was teaching me". But the "AHA" came first.

May we post this in our TradeWars Academy section as well?

Author:  Big D [ Sat Sep 12, 2009 10:31 pm ]
Post subject:  Re: TWX Arrays Tutorial

Yes, I can't wait until the rest of the site is done. If you need any help on the site EP let me know.

Author:  ElderProphet [ Thu Sep 17, 2009 6:45 am ]
Post subject:  Re: TWX Arrays Tutorial

Thrawn wrote:
May we post this in our TradeWars Academy section as well?
Of course.

For the rest of you, what aspects of arrays or while loops require additional explanation? I had planned on going on to intermediate array usage, so if there is something about array basics that needs better explanation, then please speak up.

+EP+

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/