comp.lang.ada
 help / color / mirror / Atom feed
From: "Joseph T" <thisthat7@hotmail.com>
Subject: Re: Ada Queue
Date: 2000/04/06
Date: 2000-04-06T00:00:00+00:00	[thread overview]
Message-ID: <38ecc752@news.hamilton.edu> (raw)
In-Reply-To: 8ciesn$4mt$1@nnrp1.deja.com


I need to explain why I chose to iterate through using the variable that was
passed instead of the temporary variable.  The only thing I can think of
is that I tried it and it worked.  Trial and error.  Perhaps it's not as
efficient, or logical, or conventional..but it really doesn't make a difference
as long as the proper variable of the queue is returned.

I was wondering if any one could shed some light as to another reason this
solution works well, or why someone might choose it.

Thank you so much for helping.

Ted Dennison <dennison@telepath.com> wrote:
>In article <38eca724@news.hamilton.edu>,
>  "Joseph T." <thisthat7@hotmail.com> wrote:
>>
>> Can anyone corroborate why I chose to make this enqueue function using
>> the passed pointer to Q instead of the temp pointer to loop through
>> the  queue? Any suggestions, ideas, compliments, critiques are greatly
>> appreciated.
>
>Perhaps, if you were to tell me why you chose to do that. I can hardly
>corroborate something I don't know about.
>
>Perhaps you should rephrase the question?
>
>--
>T.E.D.
>
>http://www.telepath.com/~dennison/Ted/TED.html
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.





  reply	other threads:[~2000-04-06  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-06  0:00 Ada Queue Joseph T.
2000-04-06  0:00 ` Ted Dennison
2000-04-06  0:00   ` Joseph T [this message]
2000-04-06  0:00     ` Ted Dennison
2000-04-06  0:00       ` Joseph T.
2000-04-07  0:00         ` Ted Dennison
2000-04-07  0:00           ` Hyman Rosen
2000-04-07  0:00         ` Ole-Hjalmar Kristensen
2000-04-07  0:00           ` Joseph T
2000-04-07  0:00             ` Ted Dennison
2000-04-06  0:00     ` Robert Dewar
2000-04-06  0:00       ` Joseph T
2000-04-07  0:00         ` Ole-Hjalmar Kristensen
2000-04-06  0:00       ` Ted Dennison
2000-04-06  0:00     ` tmoran
2000-04-08  0:00       ` tmoran
2000-04-07  0:00 ` MaggieJohn
2000-04-07  0:00   ` Ted Dennison
2000-04-07  0:00 ` Simon Wright
2000-04-09  0:00   ` Robert Dewar
replies disabled

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