comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: Slices of 2d arrays?
Date: 24 Jul 2002 14:41:11 +0200
Date: 2002-07-24T12:41:51+00:00	[thread overview]
Message-ID: <u1y9ts3h4.fsf@wanadoo.fr> (raw)
In-Reply-To: slrnajstf0.ok.lutz@taranis.iks-jena.de


lutz@iks-jena.de (Lutz Donnerhacke) writes:

> >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;

This is not Ada.

     type Str is array (1 .. 10) of Character;
     type Grid is array (1 .. 10) of Str;

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



  reply	other threads:[~2002-07-24 12:41 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
2002-07-24 12:41   ` Pascal Obry [this message]
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