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

Post bugreports for the Windows version here
Little John
Addict
Addict
Posts: 4837
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

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

Post 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'
User avatar
HeX0R
Addict
Addict
Posts: 1242
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

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

Post by HeX0R »

You have to disable the Purifier.
Little John
Addict
Addict
Posts: 4837
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

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

Post by Little John »

Oh, I see. Thanks!
Fred
Administrator
Administrator
Posts: 18490
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post by Fred »

Fixed.
Post Reply