On Thursday 21 November 2013 12:28:30 Marcos Douglas wrote:
>
> a) New sintaxe for "procedure":
> function func(a: bool8);
> begin
>   // do not need the return keyword
> end;
>
> b) New sintaxe for "function":
> function func(a: bool8): int32;
> begin
>  // do need the return keyword
>  return 123;
> end;
>
That was the proposal. Or
"
sub proc(a: bool8);
begin
end;

sub func(a: bool8): int32;
begin
end:= 123;
"
> --
> Marcos Douglas
>
> PS: Do you will continue using "begin" for procedures/functions/methods?
> Maybe you need to cut in these cases too.  ;-)
> Eg:
> function func(a: bool8): int32;
>   return 123;
> end;
>
No, because it starts statements after 'type' 'const', 'var'.
"
sub test();
const
 maxrange = 5;
type
 subty = 0 to maxrange;
var
 sr1: subty;
begin
 sr1:= 1;
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