From: "Raymond C. Rawa" <Raymond.C.Rawa@nospam.boeing.com>
Subject: Re: Attempting to modify a function result
Date: 1999/07/23
Date: 1999-07-23T00:00:00+00:00 [thread overview]
Message-ID: <37985A3A.4304@nospam.boeing.com> (raw)
In-Reply-To: 37976A87.87BD141D@magic.fr
Pascal MALAISE wrote:
> Well, you call the function Display which returns a object of type
> Display_Type,
> you change the field "a" of this object to 5.
> After this instruction the returned object does not exist any longer.
This is exactly my point. I thought that the record returned by the
function would be a constant and therefore the compiler wouldn't let me
make an assignment to it. At the very least, a runtime error would have
been nice.
---------------
Raymond C. Rawa
next prev parent reply other threads:[~1999-07-23 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-22 0:00 Attempting to modify a function result Raymond C. Rawa
1999-07-22 0:00 ` Pascal MALAISE
1999-07-23 0:00 ` Raymond C. Rawa [this message]
1999-07-22 0:00 ` Robert I. Eachus
1999-07-22 0:00 ` Keith Thompson
1999-07-23 0:00 ` John Herro
1999-07-26 0:00 ` Tucker Taft
1999-07-27 0:00 ` Ehud Lamm
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox