Page 1 of 1

[Done] PB 6.40 alpha 1 Wrong Len() of string with escape sequence

Posted: Tue Jan 27, 2026 8:57 pm
by Little John

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'

Re: [PB 6.40 alpha 1] Wrong Len() of string with escape sequence

Posted: Tue Jan 27, 2026 11:01 pm
by HeX0R
You have to disable the Purifier.

Re: [PB 6.40 alpha 1] Wrong Len() of string with escape sequence

Posted: Tue Jan 27, 2026 11:31 pm
by Little John
Oh, I see. Thanks!

Re: [PB 6.40 alpha 1] Wrong Len() of string with escape sequence

Posted: Wed Jan 28, 2026 10:43 am
by Fred
Fixed.