comp.lang.ada
 help / color / mirror / Atom feed
From: Jean-Baptiste CAMPESATO <camje_lemon@nospam.a2lf.org>
Subject: Re: délcarer un array sans indices.
Date: Sun, 20 Mar 2005 16:12:35 +0100
Date: 2005-03-20T16:11:22+01:00	[thread overview]
Message-ID: <pan.2005.03.20.15.12.33.577401@nospam.a2lf.org> (raw)
In-Reply-To: slrnd3r4gr.sui.adi@ppc201.mipool.uni-jena.de

Le Sun, 20 Mar 2005 15:09:15 +0000, Adrian Knoth a ᅵcritᅵ:

> Jean-Baptiste CAMPESATO <camje_lemon@nospam.a2lf.org> 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





  reply	other threads:[~2005-03-20 15:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-20 14:26 délcarer un array sans indices Jean-Baptiste CAMPESATO
2005-03-20 14:31 ` Jean-Baptiste CAMPESATO
2005-03-20 14:33 ` Jean-Baptiste CAMPESATO
2005-03-20 14:36 ` Adrian Knoth
2005-03-20 14:45   ` Jean-Baptiste CAMPESATO
2005-03-20 15:09     ` Adrian Knoth
2005-03-20 15:12       ` Jean-Baptiste CAMPESATO [this message]
2005-03-20 15:49       ` Marius Amado Alves
replies disabled

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