Jump to content

Nesting Foreach


Guest Luke

Recommended Posts

I love that fact that the new IPB 2.2 has the ability to nest if statements. What I don't like is that it can't nest foreach statements. Sure it's good for simple arrays, but when you get into multi-dimensional arrays it's useless.

I've noticed that the new "ifs" don't use "if" anymore but rather the "?" thing (whatever it's called). If you can span these accross almost anything, why couldn't you do "foreach(...){ ... }"... Each bracket doesn't have to be on it's own line.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...