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)