Re: How do you bitwise operations in Ada '83 and '95

"Chris L" <clusardi2k@xxxxxxx> writes:

Also, do you have small coding examples that demonstrate this?

If you just want bitwise logical operators, then you want an array of
Boolean. Probably with pragma Pack. This works in Ada 83, 95, and 05.

If you want to mix bitwise logical operators with arithmetic and the
like, then you want to use modular types, which are not available in
Ada 83.

- Bob