- Completely Broken String Behavior
- 07 Apr 2021 01:55:08 pm
- Last edited by RoccoLox Programs on 07 Apr 2021 03:49:36 pm; edited 2 times in total
My friend was messing around with Str8 when it started acting extremely broken. As you can see from the screenshots, the length( command returns not only wrong values, but different values each time. If you recall Str8, the last character appears to be expr(, but when using the sub( command to check the last character it gives you npv( or RandBin(. If you use inString( for any of those tokens, then it always returns 0.
If we try to send it to other calculators, then half the time it leads to ERR: Version. If you do Str8 → Str9, then Str9 is also broken. However, if you do sub(Str8, 1, 8187) → Str9 (which should store the entire Str8 to Str9) Str9 is no longer broken. If you send it an older calculator (older than a CE) and test the length, then the calculator cannot find the length. It gets stuck trying to find the length forever (you'd have to reset the calculator). If you send the string to SC3 and export it, then it is no longer broken.
EDIT: The string was made by a program that stored only random uppercase and lowercase letters to a string. Also, if you delete the last character in the string (whatever it may be), then everything works fine.
If you want to download and test the string yourself, download it here: https://drive.google.com/file/d/1Vl-dWnH8mPejgDRt2qtqLgOD3wFRkXN_/view?usp=sharing




If we try to send it to other calculators, then half the time it leads to ERR: Version. If you do Str8 → Str9, then Str9 is also broken. However, if you do sub(Str8, 1, 8187) → Str9 (which should store the entire Str8 to Str9) Str9 is no longer broken. If you send it an older calculator (older than a CE) and test the length, then the calculator cannot find the length. It gets stuck trying to find the length forever (you'd have to reset the calculator). If you send the string to SC3 and export it, then it is no longer broken.
EDIT: The string was made by a program that stored only random uppercase and lowercase letters to a string. Also, if you delete the last character in the string (whatever it may be), then everything works fine.
If you want to download and test the string yourself, download it here: https://drive.google.com/file/d/1Vl-dWnH8mPejgDRt2qtqLgOD3wFRkXN_/view?usp=sharing