Re: [fpc-devel] Problems with variants calling convenction

2005-10-04 Thread petr . kristan
On Tue, Oct 04, 2005 at 03:04:43PM +0200, [EMAIL PROTECTED] wrote: > Please, > > is here anybody who can help me with variants internals? > I have still problems with VariantArrays and calling convenctions. > > Example: > > function A(): Variant; > begin > end; > > var > V: variant; > begi

[fpc-devel] Problems with variants calling convenction

2005-10-04 Thread petr . kristan
Please, is here anybody who can help me with variants internals? I have still problems with VariantArrays and calling convenctions. Example: function A(): Variant; begin end; var V: variant; begin V:=A(); end; Why Result of the function a() is'nt a pointer to variable V, but is copied i