comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: 2-dimensional view on 1 dimensional array
Date: Wed, 26 Oct 2022 10:57:53 +0200	[thread overview]
Message-ID: <tjasqg$2dlea$1@dont-email.me> (raw)
In-Reply-To: <tj94l2$238d3$2@dont-email.me>

Le 25/10/2022 à 18:59, Marek a écrit :
> I want just to know if it is possible to make different "view" on 1 
> dimensional array. And of course I meant not 2-dimensional array but 
> array of arrays. Reason for that is that I want to use slicing on that 
> view.
Any one dimensional array can be sliced. If you have an (1 dimensional) 
array of arrays, it can be sliced, as well as any of its components. 
Still puzzled about what you want to achieve (and the depth of your 
pointers-to-pointers-to-pointers....)

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
https://www.adalog.fr https://www.adacontrol.fr

  reply	other threads:[~2022-10-26  8:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-25 16:59 2-dimensional view on 1 dimensional array Marek
2022-10-26  8:57 ` J-P. Rosen [this message]
2022-10-26 15:08 ` AdaMagica
  -- strict thread matches above, loose matches on Subject: below --
2022-10-23 12:31 Marek
2022-10-24 10:31 ` AdaMagica
2022-10-24 10:35   ` AdaMagica
2022-10-25 11:05     ` AdaMagica
2022-10-25 12:57 ` J-P. Rosen
2022-10-25 15:53   ` Jeffrey R.Carter
2022-10-25 19:55     ` J-P. Rosen
replies disabled

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