comp.lang.ada
 help / color / mirror / Atom feed
From: Dale Stanbrough <dstanbro@bigpond.net.au>
Subject: Slices of 2d arrays?
Date: Wed, 24 Jul 2002 09:29:23 GMT
Date: 2002-07-24T09:29:23+00:00	[thread overview]
Message-ID: <dstanbro-119EAB.19285524072002@mec2.bigpond.net.au> (raw)

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?

I would like to be able to do...

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

   g : grid;
   ...

   put (g (1, 4..5));

Dale



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

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-24  9:29 Dale Stanbrough [this message]
2002-07-24  9:39 ` Slices of 2d arrays? Lutz Donnerhacke
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