local lcTempDir, lnFiles, lnI, loErr, lcError lcTempDir = addbs(sys(2023)) local array laFiles[1] lnFiles = adir(laFiles, m.lcTempDir + "*.*") for lnI = 1 to m.lnFiles try delete file (m.lcTempDir + laFiles[m.lnI,1]) catch to loErr lcError = Log_Error(m.loErr) =ErrorMsg(m.lcError) loop endtry nextHowever, it gives me first file is in use error, that is caught and shown, but then it displayes "Unhandled structure exception". What is wrong here?