in reply to for vs foreach?

From the Camel, 3rd Edition, p.118: The foreach keyword is just a synonym for the for keyword, so you can use .. (them) .. interchangeably, whichever you think is more readable in a given situation.

Thus, I would suggest foreach for members of an array, and for for a C style for loop.

--t. alex

"Nyahhh (munch, munch) What's up, Doc?" --Bugs Bunny