<p><br>
Am 17.07.2015 05:03 schrieb "silvioprog" <<a href="mailto:silvioprog@gmail.com">silvioprog@gmail.com</a>>:<br>
> Hm... and more, the 'i := 1 << 1' isn't a "more Pascal-like" syntax, IMHO. =)</p>
<p>Definitely. I was surprised when I found out that this works (it had been added sometime in the far past to simplyfy porting of C code) and nowadays it hunts me, because it makes my (FPC programming) life so much more complicated -.-</p>
<p>> It compiles in '$mode delphi', but the BCC doesn't allows this sintax, returning an "Expression expected but '<' found". What do you think about doing it (... Integer>>) possible in $mode delphi? =)</p>
<p>Should be doable, especially since they aren't Delphi compatible anyway. At least it would be simpler to disallow "<<" and ">>" as alternatives for "shl" and "shr" respectively in selected modes than to work around it someway...</p>
<p>Regards,<br>
Sven</p>