procedure ToggleBit(X: Integer; Y: Integer);
Toggles the bit at X, Y position. Calling ToggleBit is faster than using the indexed properties to invert the value.
[See Also]