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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4afbb7dfe38c3e06 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-16 11:46:50 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn4feed!wn2feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc54.POSTED!not-for-mail From: "Steve Doiel" Newsgroups: comp.lang.ada References: <3c1cbdb9$0$756$7402020d@newsfeed.sunrise.ch> Subject: Re: help please X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Sun, 16 Dec 2001 19:46:50 GMT NNTP-Posting-Host: 204.127.202.214 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc54 1008532010 204.127.202.214 (Sun, 16 Dec 2001 19:46:50 GMT) NNTP-Posting-Date: Sun, 16 Dec 2001 19:46:50 GMT Organization: AT&T Broadband Xref: archiver1.google.com comp.lang.ada:17974 Date: 2001-12-16T19:46:50+00:00 List-Id: 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" 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 > > > > > >