Just to amplify on the point ikegami makes: foreach takes care of the niggling little details for you:
Having a nice iterator handle the simple details is a blessing. Why not use it?
--roboticus
In reply to Re^3: foreach to for (related to my last question)
by roboticus
in thread foreach to for (related to my last question)
by tricolaire
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |