comp.lang.ada
 help / color / mirror / Atom feed
From: "Mark D. McKinney" <mckinm@ois.com>
Subject: Re: use_error
Date: Wed, 04 Apr 2001 04:20:54 GMT
Date: 2001-04-04T04:20:54+00:00	[thread overview]
Message-ID: <3AC9F88E.5030100@ois.com> (raw)
In-Reply-To: 9adp5v$qa7$1@nntp9.atl.mindspring.net



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 <blancolioni@blancolioni.org> wrote in message
> news:fy71yr9sewb.fsf@blancolioni.org...
> 
>> "arcele" <unhuh@hotmail.com> 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.
>> 




  parent reply	other threads:[~2001-04-04  4:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-03 22:59 use_error arcele
2001-04-04  0:11 ` use_error Fraser Wilson
2001-04-03 23:17   ` use_error arcele
2001-04-04  3:12     ` use_error Fraser Wilson
2001-04-04  4:20     ` Mark D. McKinney [this message]
2001-04-04  4:43     ` use_error Wilhelm Spickermann
2001-04-04  1:23 ` use_error tmoran
2001-04-06 13:09 ` use_error Michel Gauthier
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox