<span style="font-family:courier new,monospace">Alternatively, how about just use SPACE to separate the token? i.e.:<br><br>with SomeObject o1, SomeOtherObject o2 do....<br><br>Because you need a COMMA for 2 or more expressions in with, and SPACE is not valid in token?<br>
</span><br><br><div class="gmail_quote">2013/3/18 Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Am 18.03.2013 04:17 schrieb "Xiangrong Fang" <<a href="mailto:xrfang@gmail.com" target="_blank">xrfang@gmail.com</a>>:</p><div class="im"><br>
><br>
> OK, I see. However I feel "=>" a very "un-pascal" thing, remind me of PHP. :-) I guess "as" would also complicate the parser?</div><p></p>
<p>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).</p>
<p>Regards,<br>
Sven<br>
</p>
<br>_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br></blockquote></div><br>