Code: Select all
length = Len(Str(Bin(20)))
PB x64
Code: Select all
length = Len(Str(Bin(20)))
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.
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.juergenkulow wrote: Mon Jan 08, 2024 10:26 am Do other programs also freeze when errors occur on your machine?
6.04
Switched to English, the problem disappeared.juergenkulow wrote: Mon Jan 08, 2024 10:26 am What language have you set in Preferences General Language?