Thorsten Engler schrieb:
>>>> Are you sure with the strings?
>>> Yes. Any function that returns a string is supplied with one more 
>>> argument than it was declared. After calling the function, register 
>>> eax (which is used to contain the non-parameter result) is not used.
>>> Here is a simple example:
>> I'am not sure but there might be a reason why we did it this way.
> 
> For what it's worth, I noticed that difference as well. The following code
> snippet describes Delphi's behavior (in regards to passing results as
> parameters and limited to types covered by RTTI):
> 

Ok, so I guess we can change this. Anybody volunteer to implement it :)?
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to