[fpc-devel] The usage of Include() doesn't work any more in 2.3.1
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Jul 16 14:54:50 CEST 2008
On 16 Jul 2008, at 12:16, Martin Friebe wrote:
> IMHO the way it could be done would be for the compiler to create a
> temporary variable. This could be passed in as var/out-param, and
> then be assigned to the property, using the proper setter-procedure.
That results in semantics than a var/out parameter, because updates to
a var/out parameter are expected to be immediately globally visible,
while in this case they would only be visible after the callee has
returned. You'd need something like a "copyback" parameter type for
this (which then indeed could also be used with properties as opposed
to only with regular fields/variables.
Jonas
More information about the fpc-devel
mailing list