Hello Dreamland Fantasy, thanks for the code/fix
As soon as the final version of PB 6.10 has been released, I will also update the code in the archive:
PB-CodeArchive-Rebirth/String/FormatBytes.pbi
Search found 465 matches
- Mon Feb 19, 2024 7:54 pm
- Forum: Tricks 'n' Tips
- Topic: Format bytes into kB, MB, etc.
- Replies: 4
- Views: 1689
- Sun Feb 18, 2024 6:50 pm
- Forum: Applications - Feedback and Discussion
- Topic: [Module] CalendarEx - Gadget (all OS)
- Replies: 32
- Views: 12240
Re: [Module] CalendarEx - Gadget (all OS)
Hello loulou2522,
please try the module from here:
PB-CodeArchiv-Rebirth/Gadget/CalendarModule/CalendarModule.pbi
please try the module from here:
PB-CodeArchiv-Rebirth/Gadget/CalendarModule/CalendarModule.pbi
- Mon Feb 12, 2024 7:52 pm
- Forum: Bugs - Documentation
- Topic: Missing PBCompiler parameters
- Replies: 7
- Views: 2585
Re: Missing PBCompiler parameters
Tested with PureBasic 6.10 beta 6 On Windows I miss this parameter in the output of "pbcompiler --help" under "Windows specific options": /DLLPROTECTION: Enable DLL preloading protection to the executable. It prevents that system DLLs are first searched for in the program directo...
- Mon Jan 29, 2024 8:21 pm
- Forum: General Discussion
- Topic: CodeArchiv-Rebirth
- Replies: 17
- Views: 9817
Re: CodeArchiv-Rebirth
I have adapted the codes in the code archive so that they should now work with PureBasic 6.04 LTS. At least the PB compiler (ASM backend) reported no more errors under Linux and Windows 10. I have created separate commits ("Make the CodeArchive compatible with PureBasic ..."). Maybe intere...
- Mon Jan 01, 2024 5:41 pm
- Forum: Off Topic
- Topic: Happy New Year 2024 !
- Replies: 23
- Views: 2823
Re: Happy New Year 2024 !
Happy New Year to you all.
Many thanks to the PureBasic team for the many bug fixes and features.
I am curious how the development of PureBasic will continue this year and what new projects the community will create.
Many thanks to the PureBasic team for the many bug fixes and features.
I am curious how the development of PureBasic will continue this year and what new projects the community will create.
- Thu Dec 28, 2023 7:02 pm
- Forum: Feature Requests and Wishlists
- Topic: Update FormatDate() and ParseDate() to the new date range
- Replies: 27
- Views: 3048
Re: Update FormatDate() and ParseDate() to the new date range
How %yyyy currently works does not contradict how it is documented ... and I never wrote that. I wrote this . Ok, then you saw the lack of support for the new date range in the commands mentioned as a bug. Yes, it can be seen that way. I also wondered at first whether I should post it as a bug or a...
- Thu Dec 28, 2023 4:01 pm
- Forum: Feature Requests and Wishlists
- Topic: Update FormatDate() and ParseDate() to the new date range
- Replies: 27
- Views: 3048
Re: Update FormatDate() and ParseDate() to the new date range
After thinking about this topic a bit more I have decided to revert this change and instead restrict the allowed year range for the library to year 9999 max to solve this issue. Year values up to 30827 really have no practical use and so complicating things for everybody just to make a theoretical ...
- Thu Dec 28, 2023 3:51 pm
- Forum: Feature Requests and Wishlists
- Topic: Update FormatDate() and ParseDate() to the new date range
- Replies: 27
- Views: 3048
Re: Update FormatDate() and ParseDate() to the new date range
Or what other token should we use instead :?: That's why I have created this feature request that %yyyy should be changed so that it doesn't read the first 4 digits, but the last 4 digits. And there should be a new token %yyyyy (5 times "y") that can handle years with 5 digits. How %yyyy ...
- Wed Dec 27, 2023 1:39 pm
- Forum: Coding Questions
- Topic: PB 6.10 b1 - OpenPreference()
- Replies: 17
- Views: 1616
Re: PB 6.10 b1 - OpenPreference()
These strings "Ключ" and "значение" cannot be saved with the character encoding "ISO-8859-1", which PureBasic uses for "ASCII" as far as I know. See also: If CreateFile(0, GetTemporaryDirectory() + "test.txt", #PB_Ascii) WriteStringN(0, "Ключ = ...
- Wed Dec 27, 2023 12:38 pm
- Forum: Coding Questions
- Topic: New Limits for SetFileDate with PB6.10
- Replies: 1
- Views: 428
Re: New Limits for SetFileDate with PB6.10
This depends on the file system used: NTFS (Windows): 01.01.1601 to 28.05.60056 exFAT (Windows): 01.01.1980 to 31.12.2107 ext2 (Linux): 14.12.1901 to 18.01.2038 ext3 (Linux): 14.12.1901 to 18.01.2038 ext4 (Linux): 14.12.1901 to 10.05.2446 APFS (Apple): 01.01.1970 to 21.07.2554 In the Wikipedia artic...
- Tue Dec 26, 2023 4:26 pm
- Forum: Feature Requests and Wishlists
- Topic: Update FormatDate() and ParseDate() to the new date range
- Replies: 27
- Views: 3048
Re: Update FormatDate() and ParseDate() to the new date range
Well, this is also a bug report, since the above results of FormatDate() and ParseDate() are wrong anyway: Define.q date = Date(12345, 1, 2, 3, 4, 5) Debug FormatDate("%dd.%mm.%yyyy %hh:%ii:%ss", date) ; output : 02.01.1234 03:04:05 ; expected by me: 02.01.12345 03:04:05 Debug ParseDate(&...
- Mon Dec 25, 2023 2:00 pm
- Forum: Feature Requests and Wishlists
- Topic: Update FormatDate() and ParseDate() to the new date range
- Replies: 27
- Views: 3048
Re: Update FormatDate() and ParseDate() to the new date range
Yes, makes more sense.
- Mon Dec 25, 2023 12:47 pm
- Forum: Feature Requests and Wishlists
- Topic: Update FormatDate() and ParseDate() to the new date range
- Replies: 27
- Views: 3048
Update FormatDate() and ParseDate() to the new date range
Updated: Date library for full 64bit support (new range is year 1601 to 30827) Define.q date = Date(12345, 1, 2, 3, 4, 5) ; Outputs: 02.01.1234 03:04:05 ; Expected: 02.01.2345 03:04:05 Debug FormatDate("%dd.%mm.%yyyy %hh:%ii:%ss", date) ; Outputs: 02.01.1234y 03:04:05 ; Expected: 02.01.12...
- Mon Dec 25, 2023 12:23 pm
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 291
- Views: 36447
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Many thanks for the great new release.
Merry Christmas to you all.
Merry Christmas to you all.
- Mon Dec 25, 2023 12:15 pm
- Forum: Bugs - Linux
- Topic: [Done] PB v6.10 b1 - BindWebViewCallback()
- Replies: 2
- Views: 747
Re: PB v6.10 b1 - BindWebViewCallback()
Same here with Manjaro Linux x86_64.
I tried the code from this post:
https://www.purebasic.fr/english/viewto ... 57#p613057
I tried the code from this post:
https://www.purebasic.fr/english/viewto ... 57#p613057