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,9fa5063fbdc75ae4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-16 17:51:50 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread3.news.pas.earthlink.net.POSTED!not-for-mail From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: array of strings in a function References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Fri, 17 Oct 2003 00:51:49 GMT NNTP-Posting-Host: 63.184.105.121 X-Complaints-To: abuse@earthlink.net X-Trace: newsread3.news.pas.earthlink.net 1066351909 63.184.105.121 (Thu, 16 Oct 2003 17:51:49 PDT) NNTP-Posting-Date: Thu, 16 Oct 2003 17:51:49 PDT Xref: archiver1.google.com comp.lang.ada:1036 Date: 2003-10-17T00:51:49+00:00 List-Id: tmoran@acm.org wrote: >>Certainly. But to handle an arbitrary number of parameters, you have to > > I think you mean "large" rather than "arbitrary". The latter, of > course, is impossible using any finite technique. So the relevant > question is how big "large" must be, and whether that number of > procedures is a less or more desirable implementation than the various > other techniques proposed. No, I mean arbitrary. The OP has not indicated any limits on the number of possible parameters. For this example, there may well be a fairly small upper limit to the number of parameters. Even then, though, modifying the system to increase that limit is harder when using multiple procedures than when using an unbounded array parameter. -- Jeff Carter "Perfidious English mouse-dropping hoarders." Monty Python & the Holy Grail 10