I don't like your one line if..else because it is "hard to understand" and confers no execution advantage.
Anyway, a nice algorithm idea that compares favorably with the HoA ideas previously posted.
In reply to Re^2: Find the last item in a series of files
by Marshall
in thread Find the last item in a series of files
by fredho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |