var
s:string;
i:integer;

s, i := Something(1, 2);

or

_, s := Something(1, 2);

or

i, _ := Something(1, 2);
or some other keyword (nil?)


On Fri, Nov 22, 2013 at 6:49 PM, Martin Schreiber <[email protected]>wrote:

> On Friday 22 November 2013 18:25:46 August Oktobar wrote:
> > What about multiple return values (e.g. in Golang)?
> >
> > something like this:
> >
> > function Something(a,b:integer):integer, string;
> > begin
> > ...
> > exit(1,'abc');
> > end;
> >
> How looks the call of the function?
>
> 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
>
------------------------------------------------------------------------------
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