Error converting string to int
Posted: Mon Mar 13, 2023 3:17 pm
Hello.
When I try to convert a string that contains a date and time:
I see that it runs fine in Windows 10 64 bits... and in Widows XP 32 bits, it runs too, I'm surprised
The problem is compiling in MacOS (chip intel, OS Monterrey, PB 6,01 LTS) , it prints 12663CA0EAF6
Is it a bug, or a limitation of Mac version of PureBasic?
// Moved from "Bugs - Mac OSX" to "OS Specific Mac OSX" (Kiffi)
When I try to convert a string that contains a date and time:
Code: Select all
Define txt$ = "20230313143030"
Define num.q = Val(txt$)
Debug num
I see that it runs fine in Windows 10 64 bits... and in Widows XP 32 bits, it runs too, I'm surprised

The problem is compiling in MacOS (chip intel, OS Monterrey, PB 6,01 LTS) , it prints 12663CA0EAF6
Is it a bug, or a limitation of Mac version of PureBasic?
// Moved from "Bugs - Mac OSX" to "OS Specific Mac OSX" (Kiffi)