From: Marius Amado Alves <amado.alves@netcabo.pt>
To: Adrian Knoth <adi@thur.de>
Cc: comp.lang.ada@ada-france.org
Subject: Re: délcarer un array sans indices.
Date: Sun, 20 Mar 2005 15:49:50 +0000
Date: 2005-03-20T15:49:50+00:00 [thread overview]
Message-ID: <mailman.45.1111333845.23655.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <slrnd3r4gr.sui.adi@ppc201.mipool.uni-jena.de>
> ...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);
> [..]
You don't need pointers:
declare
gauss : Matrice (a .. b, c .. d);
begin
...
prev parent reply other threads:[~2005-03-20 15:49 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
2005-03-20 15:49 ` Marius Amado Alves [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox