Very clever, tachyon ++. I first thought "How do you do binary search in a file with variable-length records?" Your answer is simple and effective.
Please consider linking to this from Tutorials.
In reply to Re: Halve the difference
by VSarkiss
in thread Removing old records from log files
by claree0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |