PB640a1 bug with list

Post bugreports for the Windows version here
drgolf
Enthusiast
Enthusiast
Posts: 122
Joined: Tue Mar 03, 2009 3:40 pm
Location: france

PB640a1 bug with list

Post by drgolf »

hello,

This code dont work with PB 640 but work with PB 630 (Windows 11 pro) :

Code: Select all

Global NewList mru.s()

For i=1 To 10
  AddElement(mru())
  mru()=Str(i)+ProgramFilename()
Next
;
ForEach mru()
Debug mru()  
Next

;;
;[17 :28 :15] Attente du démarrage du programme...
;[17 :28 :15] Type d'exécutable: Windows - x64  (64bit, Unicode)
;[17 :28 :15] Exécutable démarré.
;[17 :28 :15] [ERREUR] Ligne: 5
;[17 :28 :15] [ERREUR] Accès mémoire invalide. (erreur de lecture à l'adresse 18446744073105703264)

User avatar
mk-soft
Always Here
Always Here
Posts: 6513
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PB640a1 bug with list

Post by mk-soft »

Short bug code

Code: Select all

a.s = Str(i) + ProgramFilename()

Code: Select all

;a.s = Str(i) + ProgramFilename()
;a.s = ProgramFilename() + Str(0)
;a.s = Str(i) + CPUName()
a.s = Str(i) + UserName()
; etc
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply