[fpc-pascal] a proposal about "with" syntax

Sven Barth pascaldragon at googlemail.com
Mon Mar 18 07:47:40 CET 2013


Am 18.03.2013 04:17 schrieb "Xiangrong Fang" <xrfang at gmail.com>:
>
> OK, I see. However I feel "=>" a very "un-pascal" thing, remind me of
PHP.  :-)   I guess "as" would also complicate the parser?

As already written by others: "as" is one of the worst tokens you can
choose for this, as it is perfectly legal to do a typecast in an expression
(which includes the expression for with).

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130318/71e33920/attachment.html>


More information about the fpc-pascal mailing list