From: Ted Dennison <dennison@telepath.com>
Subject: Re: Records and their types.
Date: 1999/09/22
Date: 1999-09-22T00:00:00+00:00 [thread overview]
Message-ID: <7satv9$ehj$1@nnrp1.deja.com> (raw)
In-Reply-To: 7s93ih$4vj$1@nnrp1.deja.com
In article <7s93ih$4vj$1@nnrp1.deja.com>,
Robert Dewar <robert_dewar@my-deja.com> wrote:
> > required size is. (Like I said, the DEC compiler used to
> accept this and work
> > fine with it while others complained.)
>
> It will work fine, but in this case, there is no need to provide
> a default. DEC always allocated the maximum value for
> unconstrained variant records. Perhaps it did not give a
> warning, but it should have :-)
It was a long time ago, but the way I remember it the DEC compiler would
do as Robert says, but it would also try to run with it. That lead to
rather inefficent code, but hey, you're the programmer. If you want the
ability to expand your array field to 2*31 elements, that's what you
get.
--
T.E.D.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
next parent reply other threads:[~1999-09-22 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <37E48A92.B2CB3EC5@interact.net.au>
[not found] ` <37e4c6f9@news1.prserv.net>
[not found] ` <37E64425.A5446224@pwfl.com>
[not found] ` <slrn7ucouj.ijj.gisle@kondor.ii.uib.no>
[not found] ` <wccogexpiky.fsf@world.std.com>
[not found] ` <37E6972C.9D3271A2@pwfl.com>
[not found] ` <7s93ih$4vj$1@nnrp1.deja.com>
1999-09-22 0:00 ` Ted Dennison [this message]
1999-09-22 0:00 ` Records and their types Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox