[Done] PB 6.40 Alpha 1 - Can't use UCase and LCase on the same string during concation

Post bugreports for the Windows version here
User avatar
STARGÅTE
Addict
Addict
Posts: 2288
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

[Done] PB 6.40 Alpha 1 - Can't use UCase and LCase on the same string during concation

Post by STARGÅTE »

This code generates an IMA in line 7:

Code: Select all

Procedure.s Test(String.s)
	ProcedureReturn UCase(String) + LCase(String)
EndProcedure

Define String.s = "UpperLower"

Define NewString.s = Test(String)

Debug NewString
Or even simpler:

Code: Select all

Define String.s = "UpperLower"

Define NewString.s = UCase(String) + LCase(String)

Debug NewString
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
Fred
Administrator
Administrator
Posts: 18490
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB 6.40 Alpha 1 - Can't use UCase and LCase on the same string during concation

Post by Fred »

You had the purifier on ?
User avatar
STARGÅTE
Addict
Addict
Posts: 2288
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: PB 6.40 Alpha 1 - Can't use UCase and LCase on the same string during concation

Post by STARGÅTE »

Fred wrote: Wed Jan 28, 2026 11:03 am You had the purifier on ?
No. I used a fresh installation. Nothing is enabled in the compiler options, except the debugger.
Output is:
[11:17:31] Waiting for executable to start...
[11:17:31] Executable type: Windows - x64 (64bit, Unicode)
[11:17:31] Executable started.
[11:17:31] [ERROR] Line: 7
[11:17:31] [ERROR] Invalid memory access. (read error at address 18446744072099135680)
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
Fred
Administrator
Administrator
Posts: 18490
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB 6.40 Alpha 1 - Can't use UCase and LCase on the same string during concation

Post by Fred »

I see, seems to be fixed in my current build.
Post Reply