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-Thread: 103376,6ed5672f823f694 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-lei1.dfn.de!news.uni-jena.de!not-for-mail From: Adrian Knoth Newsgroups: comp.lang.ada Subject: Re: =?iso-8859-1?Q?d=E9lcarer?= un array sans indices. Date: 20 Mar 2005 15:09:15 GMT Organization: loris.TV Message-ID: References: NNTP-Posting-Host: ppc201.mipool.uni-jena.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fsuj29.rz.uni-jena.de 1111331355 26672 141.35.13.101 (20 Mar 2005 15:09:15 GMT) X-Complaints-To: news@rz.uni-jena.de NNTP-Posting-Date: 20 Mar 2005 15:09:15 GMT User-Agent: slrn/0.9.8.1 (Debian) Xref: g2news1.google.com comp.lang.ada:9642 Date: 2005-03-20T15:09:15+00:00 List-Id: Jean-Baptiste CAMPESATO wrote: > Scuse for post in French, my problem is not exactly that. [..] > How can i create a Array without range and after give to the programme > the range? Exactly how I've shown it: ask the user for a,b,c,d (i.e. Get_Line) and call your working function (something) with these bounds. Or if you don't want to put the main work into a separate function, use the ptr-approach: type matrice_ptr is access Matrice; gauss : matrice_ptr; -- empty, no size begin Get (a); Get (b); Get (c); Get (d); gauss := new Matrice (a .. b, c ..d); [..] -- mail: adi@thur.de http://adi.thur.de PGP: v2-key via keyserver Wer die H�nde in den Scho� legt, mu� noch lange nicht unt�tig sein