Page 1 of 1

PB640a1 : bug with strings

Posted: Sat Jan 24, 2026 9:06 am
by drgolf
Hello,

Code: Select all

Define s.s,t.s
For i=1 To 10
s=Chr(0)+s+"123"  
Next

Debug s

;[08 :58 :59] [ERREUR] Accès mémoire invalide. (erreur de lecture à l'adresse 18446744073709551608)
;[08 :59 :01] Le programme a été arrêté.

This code work with PB 630 but not with 640...

I am affraid for my apps with string...

Another thing is that IDE is very instable and freeze.

Re: PB640a1 : bug with strings

Posted: Sat Jan 24, 2026 10:37 am
by jacdelad
Fred wrote in the initial post about 6.40 Beta 1, that the strings must noch contain zeroes (as in "Chr(0)").