I just checked the price of the latest Delphi, is a little steep but I think I can swing it..
Its wasn't my intention to insult anyone helping out, if that was the impression you got.
I don't think everyone here fully understands the problem. for those that started with FPC it may
seem to be the norm or never pushed the compiler to the point where these issues crop up.
And I am fully aware of the standard of full evaluation via the integer and its been there since TP as
far as I know plus it follows the Pascal I learned in college (years ago), however, I find that
SOmeWOrdVar := SomeWordVar+1; works as it should but you can't do that anywhere else.
even the above code gets evaluated to integer but the compiler knows how to assign it back to an WORD type.
I've written assemblers in the past and this is what I did too however, all resulting types always fit the starting
type , the one on the left and if it was a parameter for a macro, it used the starting variable type as the results
in the equation.
Like I said, apologies for any miss understood direction to others here, it gets frustrating after awhile..