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

Paul Ishenin paul.ishenin at gmail.com
Mon Mar 18 08:10:56 CET 2013


18.03.13, 11:16, Xiangrong Fang пишет:
> OK, I see. However I feel "=>" a very "un-pascal" thing, remind me of
> PHP.  :-)   I guess "as" would also complicate the parser?

I did not suggest to use '=>' I wrote:

 > Where '=>' is some token which can't be used in expressions.

Which means replace '=>' in my example with some token (like ':' char or 
'alias' word or anything else).

And since 'as' can be used in expressions (with List as TStringList do) 
we should not use it.

Best regards,
Paul Ishenin



More information about the fpc-pascal mailing list