[fpc-pascal] some new features to delphi prisem

ik idokan at gmail.com
Sat Feb 20 19:04:35 CET 2010


On Sat, Feb 20, 2010 at 20:01, Jürgen Hestermann
<juergen.hestermann at 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 at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100220/8aec7a20/attachment.html>


More information about the fpc-pascal mailing list