Re: The Rpg Tools Pack, a small set of Bgt Includes.
@redfox: No, the example's fine. But you can extend your example to say this:
Create an array of length n
for i from 0 to theArray.length - 1
theArray[i] = i+1
endFor
This is much better and more flexible than simply hard-coding the numbers 1 to 10 in your array as I'm sure you know. The problem is a lot of people just starting to code will take your hard-coded example and think that's the best way to do it, so it's a good idea to always assume that when you post an example, a lot of people will just copy and paste your solution; because of this, you should provide the most complete example possible.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector