On 15 Mar 2010, at 07:49, Graeme Geldenhuys wrote:
And here is more information.
http://docwiki.embarcadero.com/RADStudio/en/Program_Control
Thank you, that is the information that was needed:
"For a string, dynamic array, method pointer, or variant result, the
effects are the same as if the function result were declared as an
additional var parameter following the declared parameters. In other
words, the caller passes an additional 32-bit pointer that points to a
variable in which to return the function result."
This explains http://bugs.freepascal.org/view.php?id=15691
Jonas
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel