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-Thread: 103376,bc4137777a63bff X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.gamma.ru!Gamma.RU!news-lond.gip.net!news.gsl.net!gip.net!newsfeed.icl.net!newsfeed.fjserv.net!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Help needed for ada package Date: Wed, 03 Aug 2005 21:18:43 +0100 Organization: Pushface Message-ID: References: <1122305318.728942.304120@f14g2000cwb.googlegroups.com> <2OudnZo-iL1aN3jfRVn-iQ@comcast.com> <1122475184.849564.159870@g44g2000cwa.googlegroups.com> <1122547648.069514.63520@g14g2000cwa.googlegroups.com> <1122980923.842598.181310@g49g2000cwa.googlegroups.com> <1123069124.562944.246730@o13g2000cwo.googlegroups.com> <1123090742.323338.311230@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1123100320 26868 62.49.19.209 (3 Aug 2005 20:18:40 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Wed, 3 Aug 2005 20:18:40 +0000 (UTC) Cancel-Lock: sha1:ylfubBI2gCxbm4NDT+ZCAEOwB6c= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news1.google.com comp.lang.ada:3943 Date: 2005-08-03T21:18:43+01:00 List-Id: "strictly_mk@hotmail.com" writes: > Line 120 refers to the return 0; in the next_member function (again > I think its to do with 0 not being an integer) (again, is there a > way around this?) You need to return the value of ID which means "not a valid ID". That might be ID'First or ID'Last (your value of 0 implies 'First). But I expect that your first Person would have an ID of 'First! Sounds like there's a deep problem in the spec there?