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!news3.google.com!news.glorb.com!proxad.net!teaser.fr!news.wanadoo.fr!news.wanadoo.fr!not-for-mail From: Jean-Baptiste CAMPESATO Organization: a2lf - Association pour le Logiciel Libre Francophone Subject: Re: =?iso-8859-1?q?d=E9lcarer?= un array sans indices. Date: Sun, 20 Mar 2005 16:12:35 +0100 User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) Message-ID: Newsgroups: comp.lang.ada References: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 20 Mar 2005 16:11:22 CET NNTP-Posting-Host: 83.112.52.79 X-Trace: 1111331482 news.wanadoo.fr 3121 83.112.52.79:34492 X-Complaints-To: abuse@wanadoo.fr Xref: g2news1.google.com comp.lang.ada:9643 Date: 2005-03-20T16:11:22+01:00 List-Id: Le Sun, 20 Mar 2005 15:09:15 +0000, Adrian Knoth a �crit�: > 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); > [..] THANKS A LOT :D