On 06/08/2010 14:53, Alexander Klenin wrote:
Logical ones are actually less important for me,
but mod= and especially div= are rather useful.
Last time I wished a had div= was just a week ago.

I could see that in a language where div was some symbol (like % or :) but with a word?

Anyway, couldn't you just go the same way that inc does?

procedure div(var op1: Integer; op2: Integer); inline;

and then write
Div(a, 4);

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to