On Sat, Nov 23, 2013 at 8:20 AM, Martin Schreiber <[email protected]> wrote: > On Thursday 21 November 2013 08:32:57 Martin Schreiber wrote: > >> ... > > sub strfunc2(const avalue: msestring,para: boolean): msestring; > begin > if para then > return 'The not string result'; > end; > := 'The string result: '+avalue; > end; > "
The 'return' returned? :) Why not this simple syntax? " sub strfunc2(const avalue: msestring,para: boolean): msestring; begin if para then return 'The not string result'; end; return 'The string result: '+avalue; end; " The 'return' keyword is simple, clean and readable... think about it, please. -- Marcos Douglas ------------------------------------------------------------------------------ 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

