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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e3ba37c5a979fdcb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mail From: "isaac2004" Newsgroups: comp.lang.ada Subject: Re: invalid parameter list Date: 18 Feb 2006 20:06:40 -0800 Organization: http://groups.google.com Message-ID: <1140322000.831855.64900@g43g2000cwa.googlegroups.com> References: <1140218028.145204.141420@z14g2000cwz.googlegroups.com> <1140249851.389233.273980@g47g2000cwa.googlegroups.com> <1140297548.116832.212770@g43g2000cwa.googlegroups.com> <57OJf.45346$d5.201767@newsb.telia.net> <1140307577.816883.185870@g43g2000cwa.googlegroups.com> NNTP-Posting-Host: 67.170.5.168 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1140322005 25669 127.0.0.1 (19 Feb 2006 04:06:45 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 19 Feb 2006 04:06:45 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g43g2000cwa.googlegroups.com; posting-host=67.170.5.168; posting-account=bWy1LAwAAAAtVkasDCH0ykMCBMNd-FcL Xref: g2news1.google.com comp.lang.ada:2976 Date: 2006-02-18T20:06:40-08:00 List-Id: so what your saying is that a chain of 30 length will cause an error when attempted, sorry for sounding confused but my prof said that my code would work for no more than 30 numbers in a chain. >{And NO, I am NOT going to post the source code that runs that im not expecting you to give me code to do it but to tell me what to fix. i understand that there is something wrong with my sociable chain function but i dont understand the problems i am being told. the code writes the starting digit to an array and then finds the sum of its divisors and writes that to the second portion of the array and etc. is there a way i can just test the sociable chain function so i can see if the arithmetic works. im sorry i dont understand all terms that you guys are saying but ive only been coding for a month. i wrote all the code myself and dont expect someone to say your code is inefficient use this. i dont want that, all im asking for is layman explanation of how to do it. thank you