Follow-up Comment #2, bug #25390 (project wesnoth):

Ooooohh.  It feels really weird thinking about it that way rather than how
FOREACH does it, but it's literally just like:

for(int i = 1; i <= 2; i++)


My first thought when reading it was "I'm looping over an array, so I should
use the array attribute".  What really tripped me up though was:
"If start is omitted, it defaults to 0. If end is omitted, it defaults to
start."
which seems like it says that if you specify neither start nor end, they both
default to 0.

Anyway, thanks for clarifying.  I've also updated the wiki wording to
hopefully be more clear.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?25390>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to