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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f32236e7e55b02e0 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Ada Queue Date: 2000/04/06 Message-ID: <8cikl8$anh$1@nnrp1.deja.com>#1/1 X-Deja-AN: 607639855 References: <38eca724@news.hamilton.edu> <8ciesn$4mt$1@nnrp1.deja.com> <38ecc752@news.hamilton.edu> X-Http-Proxy: 1.0 x37.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Apr 06 18:22:40 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-04-06T00:00:00+00:00 List-Id: In article <38ecc752@news.hamilton.edu>, "Joseph T" wrote: > > 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. This is completely bizarre, I can imagine someone being given this as an excercise, but if you wrote it, surely you can answer your own question here??? Please be clearer about what you are asking. It sounds like I have written this code can anyone tell me why I wrote it this way Sent via Deja.com http://www.deja.com/ Before you buy.