From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b45f070b1f46a13d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-21 10:29:42 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!ppp-1-214.5800-8.access.uk.worldonline.COM!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: Problem Deleting files & the USE_ERROR exception & WHY Date: Sun, 21 Jan 2001 18:15:04 -0000 Message-ID: <94f9qg$dc4s7$2@ID-25716.news.dfncis.de> References: NNTP-Posting-Host: ppp-1-214.5800-8.access.uk.worldonline.com (62.64.163.214) X-Trace: fu-berlin.de 980101780 14029703 62.64.163.214 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: supernews.google.com comp.lang.ada:4271 Date: 2001-01-21T18:15:04+00:00 List-Id: Rich, Use_Error is a bit of a catch-all exception, raised whenever you try to do something with a file that goes wrong for any of a hundred possible reasons. Something may be making it illegal for you to delete the (external) file, such as you do not have permission to delete it, it is being held open by another program, or it is fundamentally undeletable (e.g. a device). Alternatively it may simply be that your Ada implementation is not actually able to delete files, or that your Ada implementation gets confused if you try to do things to the same (internal) file with different tasks. These kinds of limitations should be documented in your Ada's documentation. Try to check out these possibilities. If you are still baffled, tell us all the circumstances of your problem, including which Ada compiler and its version, which operating system and its version, what kind of file and details about the file. Include the relevant parts of your Ada code (but not too much). Also tell us what you are basically trying to do with your program. Best of luck, -- Nick Roberts http://www.AdaOS.org