From: "Rodrigo Garcia" <rodrigo.garcia@epfl.ch>
Subject: Re: strings and multidimensional arrays
Date: Mon, 13 Oct 2003 15:59:28 +0200
Date: 2003-10-13T15:59:28+02:00 [thread overview]
Message-ID: <3f8aafcd@epflnews.epfl.ch> (raw)
In-Reply-To: 3F88D320.80706@chartermi.net
Create a multi-dimensional array of access to string:
procedure Multi is
type String_Ptr is access String;
type Multi_Array is array
(Positive range <>, Positive range <>) of String_Ptr;
A : Multi_Array (1..5, 1..5);
begin
A (4, 5) := new String'("Hello World");
end Multi;
Rodrigo
"Andrew" <specter@chartermi.net> wrote in message
news:3F88D320.80706@chartermi.net...
> Is this possible:
> Can I create a multi-dimensional array.. and then at say row (4) ,
> column (5) have an entirely new string built?
>
> basically having a string within a multi-dimensional array...
> ?
> and if this is possible what would be a good place to look for ideas on
> how to do this?
> thanks
> Andrew
>
next prev parent reply other threads:[~2003-10-13 13:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-12 4:05 strings and multidimensional arrays Andrew
2003-10-12 5:24 ` Andrew
2003-10-12 6:27 ` tmoran
2003-10-12 14:16 ` Robert I. Eachus
2003-10-12 19:34 ` Jeffrey Carter
2003-10-13 0:02 ` Robert I. Eachus
2003-10-13 3:14 ` Jeffrey Carter
2003-10-13 17:05 ` Robert I. Eachus
2003-10-13 18:49 ` Martin Dowie
2003-10-13 21:47 ` Mark Lorenzen
2003-10-14 1:10 ` Jeffrey Carter
2003-10-14 15:29 ` Robert I. Eachus
2003-10-12 21:01 ` Andrew
2003-10-13 13:59 ` Rodrigo Garcia [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-10-14 6:24 christoph.grein
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox