That's the point why I want to include compiler support: rol/ror is very
important for several cryptographic algorithms.

Agree! Since these are very important and relatively commonly used, I think it'd be better if they're implemented as new operators ("ror" and "rol") rather than as functions. Say we'll able to code like this:

a := b ror c;
x := y rol z;

Just what we have now with "shr" and "shl". I believe it won't break any compatibility with Delphi code, even we have new "feature" of FPC. :)

What do you think?

-Bee-

has Bee.ography at
http://beeography.wordpress.com
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to