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 13:19:08 -0800 Organization: http://groups.google.com Message-ID: <1140297548.116832.212770@g43g2000cwa.googlegroups.com> References: <1140218028.145204.141420@z14g2000cwz.googlegroups.com> <1140249851.389233.273980@g47g2000cwa.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 1140297553 3495 127.0.0.1 (18 Feb 2006 21:19:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 18 Feb 2006 21:19:13 +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:2965 Date: 2006-02-18T13:19:08-08:00 List-Id: >You can do the writing either inside Sociable_Chain or in another procedure. If you'll do it in another procedure you'll need to get the whole array out of Sociable_Chain and pass it to that other procedure. does that loop look correct though, also how do i write the a chain to a txt file? >If I call this function with N=9 it will return 7. Is that really right? Why Integer? What should the function return if N is -38? (What are the proper divisors of 1 or 0 anyway?) should i use natural then instead of integer, there are no divisors of 1 or 0, the divisors of 9 is 7 ( 1+ 3+3)