On Wednesday 20 November 2013 19:38:22 Ivanko B wrote:
> Returning NEW strings, dynarrays etc refcounted (automatically
> destroyable) types from function.
>
As usual I still don't understand.
"
procedure strfunc(): msestring;
begin
 return 'The string result';
end;

procedure test;
var
 s1: msestring;
begin
 s1:= '"' + strfunc() + '"';
end;
"

Martin

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to