On Wed, Nov 20, 2013 at 1:01 PM, Martin Schreiber <mse00...@gmail.com> wrote:
> Hi,
>
> '()' for procedure header and procedure calling is mandatory.
> "
> procedure noparams();
> begin
> end;
>
> procedure test();
> begin
>  noparams();
> end;
> "

No, no, no...please!  :(
I know that you want to make a language more ortogonal but exceptions
could exist! If you do not have parameters, why I need use this '()'?

> Parameter separator is ','.
> "
> procedure params(a: int32, b: int32);
> begin
> end;
>
> procedure test();
> begin
>  params(123,456);
> end;
> "

That's Ok for me.

> There will be no extra reserved name for functions, functions are defined
> by ':' TYPE. Return values are supplied by 'return' statement. A 'return'
> statement before 'end;' is mandatory.
> "
> procedure func(a: bool8): int32;
> begin
>  if a then
>   return 123;
>  end;
>  return 458;
> end;
> "
>
> Opinions?

I agree that not needs to exist procedure and function keywords, but
if one them will be excluded then "procedure" keyword is the best
choice.
The most languages uses "function" so why MSElang can't uses that keyword too?

--
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
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to