We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When performing REDIM _PRESERVE on an array of _BIT, bits in the same byte as a preserved bit are not cleared.
To Reproduce Test case:
REDIM a(0 TO 4) AS _BIT * 2 a(0) = -1 a(1) = -1 a(2) = -1 a(3) = -1 a(4) = -1 REDIM _PRESERVE a(0 TO 1) AS _BIT * 2 REDIM _PRESERVE a(0 TO 4) AS _BIT * 2 PRINT a(0); a(1); a(2); a(3); a(4)
Indices 2, 3, 4 should be 0 but 2 & 3 are still -1. Note that indices 0 through 3 all share a byte but a(4) is in its own byte, correctly zeroed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When performing REDIM _PRESERVE on an array of _BIT, bits in the same byte as a preserved bit are not cleared.
To Reproduce
Test case:
Indices 2, 3, 4 should be 0 but 2 & 3 are still -1. Note that indices 0 through 3 all share a byte but a(4) is in its own byte, correctly zeroed.
The text was updated successfully, but these errors were encountered: