Hi,

I wonder if the Rational compiler is smart enough to understand that for
example in the following expression

Tmp : Integer;

Tmp := Tmp + 2**4;

the compiler will understand that 2**4 is a constant ( =16 ) and replace the
calculation with its value ( = 16 ).

My code looks much clearer if I use expressions like 2**4 instead of 16, but
then there is the question of execution time also. I don't want the
calculation to take place over and over again, since the function is called
quite often.

I hope I don't offend any Rational people with this question.

Thanks,

Magnus Íhlund

Celsius Aerotech