Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

Limiting foreach to a specific #?

I'd like to have my front page be a specific number of articles, regardless of how often I post (say, the 5 most recent). I didn't see a way to limit the foreach to a specific number. Is there one?

Brad Wilson
Wednesday, November 14, 2001

ok! yes! We implemented this feature. I'm testing it now on my weblog (the otherwise uninteresting "Last 5 books" feature).

You'll see it in the next Beta, which I expect will ship on Monday.

Joel Spolsky
Wednesday, November 21, 2001

*  Recent Topics

*  Fog Creek Home