François Perrad wrote: > Another suspect behavior is flush() with a closed file f : > f:flush() throws the expected error > io.flush(f) doesn't Well, why should it? io.flush() does not have an argument (or rather ignores it). --Mike