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=-0.5 required=5.0 tests=BAYES_05 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,a31acccf6053ab1b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-27 03:39:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!news2.euro.net!transit.news.xs4all.nl!195.129.110.18.MISMATCH!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!newsfeed.siemens.de!news.siemens.de!news.mch.sbs.de!not-for-mail From: Alfred Hilscher Newsgroups: comp.lang.ada Subject: Re: Array problem Date: Mon, 27 May 2002 12:39:01 +0200 Organization: Siemens AG Message-ID: <3CF20CC5.1610A7A6@icn.siemens.de> References: NNTP-Posting-Host: 139.21.122.158 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:24852 Date: 2002-05-27T12:39:01+02:00 List-Id: Hey Andreas, Clients och Servers �r "type"s men f�r assignments du moste har en variable. Klart nu? Se upp din code en g�ng till. Andreas Lans wrote: > > Thanks for all your help so far, I got the program working at least, but now > a runtime error has started to come up, and the thing its complaining about > is this: > > if(pairs <= 100) then > > Clients(Pairs) := new Male; > > Servers(Pairs) := new Female; > > Pairs := Pairs+1; > > Where Pairs is an integer, I thought I could use this to store Females and > Males in the array but when I try this, it says: Illegal operand for array > conversion, any thoughts on this??