comp.lang.ada
 help / color / mirror / Atom feed
From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: Re: Slices of 2d arrays?
Date: Wed, 24 Jul 2002 09:39:46 +0000 (UTC)
Date: 2002-07-24T09:39:46+00:00	[thread overview]
Message-ID: <slrnajstf0.ok.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: dstanbro-119EAB.19285524072002@mec2.bigpond.net.au

* Dale Stanbrough wrote:
>I've always been under the impression that you could take a 
>horizontal slice of a 2d array, but for the life of me I can't
>find it in the LRM, or get it to work. Does anyone know
>whether this exists, or is it just a figment of my overworked 
>imagination?

Projections of multidimensional array are not part of the Ada Language.

>I would like to be able to do...
>   type grid is array (1..10, 1..10) of character;

   type grid is array (1..10) of array (1..10) of character;




  reply	other threads:[~2002-07-24  9:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-24  9:29 Slices of 2d arrays? Dale Stanbrough
2002-07-24  9:39 ` Lutz Donnerhacke [this message]
2002-07-24 12:41   ` Pascal Obry
2002-07-25  0:38   ` Robert Dewar
2002-07-24 13:47 ` Peter Hermann
2002-07-25  0:33   ` Robert Dewar
2002-07-25 11:26     ` Slices of 2d arrays? +HPF Peter Hermann
2002-07-25 13:04       ` Jacob Sparre Andersen
2002-07-25 15:58         ` Darren New
2002-07-28 23:54           ` Robert Dewar
2002-07-25 20:31     ` Slices of 2d arrays? Robert A Duff
2002-07-25 21:09       ` Chad R. Meiners
2002-07-29 13:37         ` Robert Dewar
2002-07-29 14:08           ` Steffen Huber
replies disabled

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