Hi Pedro Thanks for the reply. I have checked out both options in my debugging and have seen that they work correctly. I am mainly interested to know why st = !st doesn't work because it should ie. what I am doing is perfectly legal and is somehow confusing the compiler on -O1.
Colin
