comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Access to Unconstrained Arrays
Date: 1997/04/20
Date: 1997-04-20T00:00:00+00:00	[thread overview]
Message-ID: <dewar.861547435@merv> (raw)
In-Reply-To: 1997Apr18.141618.10240@ocsystems.com


Joel said

<<I think your compiler is stopping at the first error or something.  Our
compiler says that both calls are incorrect.  List1 and List2 are arrays,
NOT access values.  So, neither call matches the procedure profile. In
fact, List2 IS constrained.  It is given a constraint when it is
initialized.  If your program were to assign (1,2) to either list it would
raise a constraint error (the same as for list1).>>

Of course the program is incorrect as presented, but one has to assume
that was just a typo introduced in preparation. if you make the obvious
changes, there is *indeed* a subtle difference between the two cases,
see my previous post.





  reply	other threads:[~1997-04-20  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-16  0:00 Access to Unconstrained Arrays John Harbaugh
1997-04-18  0:00 ` Joel VanLaven
1997-04-20  0:00   ` Robert Dewar [this message]
1997-04-18  0:00 ` Robert Dewar
1997-04-18  0:00 ` John Harbaugh
1997-04-20  0:00   ` Robert Dewar
1997-04-21  0:00   ` Joel VanLaven
1997-04-21  0:00     ` Robert A Duff
1997-04-23  0:00       ` Robert Dewar
replies disabled

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