I wish I had cfnextif

  • Post author:
  • Post category:Uncategorized

A couple of years ago I did quite a bit of Perl programming. One thing I really liked was syntax like this:next if()It’s very simple, and you use it in a loop. You can put it anywhere you want in the loop, and if the condition is true, the code will skip to the next loop item. I LOVE this.I know we can do a similar thing in ColdFusion like so: But something like this just seems better, to me at least: So there’s my first CF 9 wishlist item. 🙂