On Sunday 02 September 2001 06:27 pm, raptor wrote:
> ]- yep I didn't thougth about that.... I can be sure I'm at the last
> iteration only with some sort of 'callback' which will be called at the
> exit of the loop... but not as some sort of generalised-check condition..
Umm, it's simpler than that.
iterator (list) {
code;
}
# <- If you are here, you just completed your last iteration.
# (Unless you goto'd somewhere else, obviously. But that would
# skip the callback, too.)
--
Bryan C. Warnock
[EMAIL PROTECTED]