comp.lang.ada
 help / color / mirror / Atom feed
From: "Steve Doiel" <nospam_steved94@attbi.com>
Subject: Re: help please
Date: Sun, 16 Dec 2001 19:46:50 GMT
Date: 2001-12-16T19:46:50+00:00	[thread overview]
Message-ID: <KS6T7.8980$KY.341782@rwcrnsc54> (raw)
In-Reply-To: 3c1cbdb9$0$756$7402020d@newsfeed.sunrise.ch

I think you're missing something in your example.  When I try to compile the
line:

  type T_Tableau is array (integer range <>);

I get the compile time error message:
  missing "OF"

Which I expect, since you must give the element type of the array.

SteveD

"Pierrick" <nospam_pierrickz@hotmail.com> wrote in message
news:3c1cbdb9$0$756$7402020d@newsfeed.sunrise.ch...
>
>    --I've declared this type :
>
> type T_Tableau is array (integer range <>);
> ...
>
>    --and this procedure :
>
> function Plus_Petit (Table : T_Tableau) return Integer is
> ...
>
>    --And after that, I create a table :
>
> Table : T_Tableau (1..5);
> ...
>
> begin
> ...
>
>    --When i try to call my procedure with these parameters, it doesn't
work (but no problem at compilation) :
>
> Plus_Petit (Table (3..5));
>
>
> Could you please tell my why ?
> Sorry for my bad english :)
>
>
> Pierrick
>
>
>
>
>
>





  parent reply	other threads:[~2001-12-16 19:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-16 15:27 help please Pierrick
2001-12-16 18:27 ` Patrick Hohmeyer
2001-12-16 19:46 ` Steve Doiel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-05-22  0:00 saju sathyan
2000-05-22  0:00 ` Gautier
2000-05-23  0:00   ` saju sathyan
     [not found] <36ab9be5.2873369@news.ptd.net>
1999-01-24  0:00 ` help Please Matthew Heaney
1999-01-26  0:00   ` Simon Wright
1999-01-26  0:00   ` Steve Kerr
1999-01-26  0:00     ` David C. Hoos, Sr.
1999-01-27  0:00       ` Steve Kerr
1999-01-27  0:00         ` Tucker Taft
replies disabled

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