When I send the value of testa on a DEBUG line I get the proper value so it must be a setting in MPSIM somewhere.
I can't figure out why there would be such a setting though!

Mike