On Tuesday 13 June 2017 22:29:21 Sieghard wrote:
> Using this as a reference, a syntax like
>
> MethodType = object function ( or
> MethodVariable: object function (
> might be considered. Yes, this is more typing.
> (Perhaps abbreviate it with just
On Tuesday 13 June 2017 17:27:41 Edson H wrote:
> Ok. I understand what Martin does. I have implemented this syntax too, in
> my compiler.
>
>
> I just was asking for the keyword ELSIF, to avoid nested IF, for several
> comparisons, but Martin prefers to have a lot of THEN ... END, nested. I
>
Hallo Martin,
Du schriebst am Tue, 13 Jun 2017 06:47:58 +0200:
> > [functions & procedures]
> IIRC you proposed to use "function" for both? Sometimes I have the
No. I did propose to use "function" _only_ if you _insisted_ to use the
same keyword for both uses. If you kept the Pascal convention,
Ok. I understand what Martin does. I have implemented this syntax too, in my
compiler.
I just was asking for the keyword ELSIF, to avoid nested IF, for several
comparisons, but Martin prefers to have a lot of THEN ... END, nested. I think
the best way is to include ELSIF, to have a clear
4 matches
Mail list logo