From: "Robert I. Eachus" <rieachus@comcast.net>
Subject: Re: strings and multidimensional arrays
Date: Mon, 13 Oct 2003 00:02:40 GMT
Date: 2003-10-13T00:02:40+00:00 [thread overview]
Message-ID: <3F89EB77.3030007@comcast.net> (raw)
In-Reply-To: d1iib.8562$dn6.4038@newsread4.news.pas.earthlink.net
Jeffrey Carter wrote:
> This is along the lines of what I was going to suggest. I don't
> understand, though, why you wrapped the Contents record in the
> Element record. I would simply say
>
> type Thing is array (Positive range <>, Positive range <>) of
> Content;
>
> Since you're a language lawyer and I'm not, I guess I'm missing
> something here, and wonder what it is.
You can't have an array of unconstrained records, and Content is an
unconstrained record type. (Try it.) Wrapper is a constrained type, even
though it has an unconstrained record type within it.
Or I could just say that it was necessary magic. ;-)
--
Robert I. Eachus
"Quality is the Buddha. Quality is scientific reality. Quality is the
goal of Art. It remains to work these concepts into a practical,
down-to-earth context, and for this there is nothing more practical or
down-to-earth than what I have been talking about all along...the repair
of an old motorcycle." -- from Zen and the Art of Motorcycle
Maintenance by Robert Pirsig
next prev parent reply other threads:[~2003-10-13 0:02 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 [this message]
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
-- 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