$read is usually used in loops, why not just run the loops backwards??
instead of:
Code:
var %x = 1
while ($read(file,%x)) {
...
inc %x 1
}

use:
Code:
var %x = $lines(file)
while ($read(file,%x)) {
...
dec %x 1
}

I see what u mean Dave but I fail to see a use for it.
Depends what you are using it for I guess.

Last edited by jizzy; 25/05/06 12:01 PM.