Alternatively, how about just use SPACE to separate the token? i.e.:

with SomeObject o1, SomeOtherObject o2 do....

Because you need a COMMA for 2 or more expressions in with, and SPACE is
not valid in token?


2013/3/18 Sven Barth <pascaldra...@googlemail.com>

> Am 18.03.2013 04:17 schrieb "Xiangrong Fang" <xrf...@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
>
> _______________________________________________
> 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