Page 1 of 1
6.04 compiler freezes, Len(Str(Bin(20)))
Posted: Mon Jan 08, 2024 3:34 am
by AZJIO
This is incorrect code, but instead of displaying an error, the compiler freezes.
Arch x64
PB x64
Re: 6.04 compiler freezes, Len(Str(Bin(20)))
Posted: Mon Jan 08, 2024 10:16 am
by mk-soft
Not on Mint Linux LMDE 6
Re: 6.04 compiler freezes, Len(Str(Bin(20)))
Posted: Mon Jan 08, 2024 10:26 am
by juergenkulow
Code: Select all
/media/ramdisk/pb610B1/purebasic/compilers/pbcompiler /media/kulow/BCE4-8C0F/PB/LenStrBin.pb --commented
PureBasic 6.10 beta 1 (Linux - x64)
Loading external modules...
Starting compilation...
Error: Line 1 - Bad parameter type, number expected instead of string.
@AZJIO Do other programs also freeze when errors occur on your machine? What language have you set in Preferences General Language?
Re: 6.04 compiler freezes, Len(Str(Bin(20)))
Posted: Mon Jan 08, 2024 12:23 pm
by AZJIO
juergenkulow wrote: Mon Jan 08, 2024 10:26 am
Do other programs also freeze when errors occur on your machine?
No, this is the first time. I tried it several times, it freezes all the time. If I separate each function into a separate line with the return of the result to a variable, then it normally gives an error that the type is incorrect.
The language doesn't matter, the compiler doesn't do anything, it shows a window that compilation is in progress and so on for a long time. Switched to "C Backend", the same thing.
https://youtu.be/nvhe7ib1-Y0
juergenkulow wrote: Mon Jan 08, 2024 10:26 am
PureBasic 6.10 beta
6.04
Re: 6.04 compiler freezes, Len(Str(Bin(20)))
Posted: Mon Jan 08, 2024 2:04 pm
by AZJIO
juergenkulow wrote: Mon Jan 08, 2024 10:26 am
What language have you set in Preferences General Language?
Switched to English, the problem disappeared.
Sorry for distracting you with small things. It wasn't critical, as I came across it once and it wasn't worth someone else's time.
Re: 6.04 compiler freezes, Len(Str(Bin(20)))
Posted: Mon Jan 08, 2024 2:38 pm
by mk-soft
With language switching to German, there is not the problem.
But it shouldn't happen either. Not that it is a problem with the language files