comp.lang.ada
 help / color / mirror / Atom feed
From: Alfred Hilscher <Alfred.Hilscher@icn.siemens.de>
Subject: Re: Array problem
Date: Mon, 27 May 2002 12:39:01 +0200
Date: 2002-05-27T12:39:01+02:00	[thread overview]
Message-ID: <3CF20CC5.1610A7A6@icn.siemens.de> (raw)
In-Reply-To: FSyH8.39826$n4.8867800@newsc.telia.net

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??



      parent reply	other threads:[~2002-05-27 10:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-24 22:09 Array problem Andreas Lans
2002-05-24 22:31 ` Preben Randhol
2002-05-25  8:49   ` Andreas Lans
2002-05-25 12:12     ` Preben Randhol
2002-05-25 16:30     ` Robert Dewar
2002-05-25 18:00       ` Andreas Lans
2002-05-26  9:09         ` Preben Randhol
2002-05-25 16:38     ` Robert Dewar
2002-05-25 11:30   ` Robert Dewar
2002-05-27 10:39 ` Alfred Hilscher [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox