09-22-2024, 11:29 AM
Thank you mpgcan, that worked!
I swear that I used to assign the clipboard to a null string in the past and it worked. I was ALMOST sure of it...but that was not good enough for me.
Being a person that cannot leave my memory to 'well I thought, but I guess not' I set out on a journey and I had to get my answer. Soooo I dug up old versions of the compiler that I have and tried it. I used the following program:
qb64.exe v1.5 worked
qb64pe.exe v3.0.0 worked
qb64pe.exe v3.4.0 worked
qb64pe.exe v3.11.0 worked
qb64pe.exe v3.13.1 Did not work
HA! So my memory is correct and I'm not second guessing myself (or am I...?). Somewhere between v3.11.0 and v3.13.1 this bug was introduced...err...feature was added.
I swear that I used to assign the clipboard to a null string in the past and it worked. I was ALMOST sure of it...but that was not good enough for me.
Being a person that cannot leave my memory to 'well I thought, but I guess not' I set out on a journey and I had to get my answer. Soooo I dug up old versions of the compiler that I have and tried it. I used the following program:
Code: (Select All)
_Clipboard$ = "it did not work"
_Clipboard$ = ""
a$ = _Clipboard$
If a$ = "" Then Print "IT WORKED!" Else Print a$
qb64.exe v1.5 worked
qb64pe.exe v3.0.0 worked
qb64pe.exe v3.4.0 worked
qb64pe.exe v3.11.0 worked
qb64pe.exe v3.13.1 Did not work
HA! So my memory is correct and I'm not second guessing myself (or am I...?). Somewhere between v3.11.0 and v3.13.1 this bug was introduced...err...feature was added.