On Sat, Feb 20, 2010 at 20:01, Jürgen Hestermann
<juergen.hesterm...@gmx.de>wrote:

>
>
>  y := case Other of
>>         bla : 'hello';
>>         foo : 'bye';
>>         baz : 'adius';
>>       end;
>>
>
> What do you gain with this?
> Doesn't look much different to
>

> case Other of
>  bla : y := 'hello';
>  foo : y := 'bye';
>  baz : y := 'adius';
>  end;
>

Shorter write imho.



>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to