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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8e587ba85601bf8e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-03 21:26:06 PST Path: supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.md.home.com.POSTED!not-for-mail Message-ID: <3AC9F88E.5030100@ois.com> From: "Mark D. McKinney" User-Agent: Mozilla/5.0 (Windows; U; Win95; en-US; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: use_error References: <9ado2r$vo1$1@slb1.atl.mindspring.net> <9adp5v$qa7$1@nntp9.atl.mindspring.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 04 Apr 2001 04:20:54 GMT NNTP-Posting-Host: 24.13.249.205 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.md.home.com 986358054 24.13.249.205 (Tue, 03 Apr 2001 21:20:54 PDT) NNTP-Posting-Date: Tue, 03 Apr 2001 21:20:54 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: supernews.google.com comp.lang.ada:6430 Date: 2001-04-04T04:20:54+00:00 List-Id: arcele wrote: > No, i'm not doing that, what i'm actually trying to do is set up a chain > with seperate overflow, my function that calls the error looks like this.... > > procedure addlink(inrec : in a_hote) is > min_val : integer; > begin > dir_io.open(notes, dir_io.inout_file, "notes.dat") What does the LRM Say a use error is?? Is notes global ?? When do you close this file ?? Can addlink be called more than once ?? If you can aswer these qustions I think you can figure out at least on potential cause of your use_error. > > min_val := inrec.next; > while min_val /= 0 loop > dir_io.read(notes, new_rec, dir_io.positive_count(min_val)); > min_val := new_rec.next; > end loop; > dir_io.write(notes, new_rec, dir_io.positive_count(min_val)); > end; > > > Fraser Wilson wrote in message > news:fy71yr9sewb.fsf@blancolioni.org... > >> "arcele" writes: >> >>> USE_ERROR when using the Direct_IO Package, can anyone tell me what in >> > the > >>> heck this means, or where I can read up on it??? thanks....ryan =] >> >> Without code it's hard to say, but I expect you're doing something like >> >> use Direct_IO; >> >> which you can't because it's a generic, and has to be instantiated. >> >> Fraser. >>