From: Simon Wright <simon@pushface.org>
Subject: Re: specification file ads problem
Date: Sun, 05 Oct 2014 17:32:08 +0100
Date: 2014-10-05T17:32:08+01:00 [thread overview]
Message-ID: <lyy4subhpz.fsf@pushface.org> (raw)
In-Reply-To: 831a97d3-fa0b-49d9-980b-46e7eb12c1ee@googlegroups.com
Stribor40 <ikamzic@gmail.com> writes:
> generic
> type myType is array (1 ..N-1) of String (1..N);
> N : Integer;
>
> package myPackage is
> function tt (a : in String) return myType;
> end Neighbours;
Try
generic
N : Integer;
package myPackage is
type myType is array (1 ..N-1) of String (1..N);
function tt (a : in String) return myType;
end myPackage;
next prev parent reply other threads:[~2014-10-05 16:32 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-05 15:39 specification file ads problem Stribor40
2014-10-05 16:20 ` mockturtle
2014-10-06 21:34 ` Adam Beneschan
2014-10-05 16:29 ` AdaMagica
2014-10-05 16:32 ` Simon Wright [this message]
2014-10-05 17:06 ` Online conceptual/tutorial material for Ada, was: " Simon Clubley
2014-10-05 18:44 ` Niklas Holsti
2014-10-05 19:53 ` Peter Chapin
2014-10-06 7:55 ` Simon Wright
2014-10-06 11:08 ` Peter Chapin
2014-10-06 12:13 ` G.B.
2014-10-06 13:07 ` Peter Chapin
2014-10-06 13:40 ` J-P. Rosen
2014-10-06 22:30 ` Simon Clubley
2014-10-07 18:39 ` Peter Chapin
2014-10-06 8:12 ` Jacob Sparre Andersen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox