[Done] PB 6.40 alpha 1 Wrong Len() of string with escape sequence
Posted: Tue Jan 27, 2026 8:57 pm
Code: Select all
; PB 6.40 alpha 1 (x64) on Windows
s$ = ~"123\t56"
Debug s$ ; looks OK
Debug Len(s$) ; error: shows '841592644013391878'//edit
The problem also exists with a "normal" string.
Code: Select all
; PB 6.40 alpha 1 (x64) on Windows
s$ = "123456"
Debug s$ ; looks OK
Debug Len(s$) ; error: shows '841592644013391878'