on error resume next虽然是VB的创举,但也是VB的无奈之举。
真正的程序都是用
try语句来完成的。Delphi中是
try...except...end;
try...finally...end;