Search found 3721 matches
- Fri Dec 29, 2023 3:44 pm
- Forum: Tricks 'n' Tips
- Topic: DateEx: Extended Date library
- Replies: 33
- Views: 4505
Re: DateEx: Extended Date library
Demo program ; tested with PB 5.73 LTS, 6.04 LTS ; Create an annual overview calendar EnableExplicit XIncludeFile "DateEx.pbi" UseModule DateEx Procedure.i CalcOneMonth (year.i, month.i, Array monthCal.i(2)) ; in : year, month ; out: monthCal() ; return value: column index of last week in...
- Fri Dec 29, 2023 8:17 am
- Forum: Feature Requests and Wishlists
- Topic: Update FormatDate() and ParseDate() to the new date range
- Replies: 27
- Views: 3104
Re: [BUG]Re: Update FormatDate() and ParseDate() to the new date range
; The last second of the year 1969 does not exist for FormatDate. That is on purpose. The value -1 has always meant "invalid date" in the PB date library so we have to keep that for backward compatibility. Changing that would break a lot of code so having this one specific second be non-r...
- Thu Dec 28, 2023 6:18 pm
- Forum: Announcement
- Topic: i2pdf - image to pdf
- Replies: 38
- Views: 12929
Re: i2pdf - image to pdf
i2pdf version 1.0.48 works fine here on Windows 11. However, it's good to have the most recent version.
Thank you, Luis!
Thank you, Luis!
- Thu Dec 28, 2023 5:00 pm
- Forum: Feature Requests and Wishlists
- Topic: Update FormatDate() and ParseDate() to the new date range
- Replies: 27
- Views: 3104
- Wed Dec 27, 2023 5:02 pm
- Forum: General Discussion
- Topic: [SOLVED] Integer calc. variation between ASM and C backend
- Replies: 4
- Views: 563
Re: Integer calc. variation between ASM and C backend
I can't explain why this is happening. However, problems with implicit typecasting have been reported and discussed here repeatedly, see e.g. Different implicit typecasting with different backends.
I strongly recommend not to use implicit typecasting, but to use Int(), IntQ() or Round().
I strongly recommend not to use implicit typecasting, but to use Int(), IntQ() or Round().
- Wed Dec 27, 2023 10:35 am
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 334
- Views: 41828
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
- Tue Dec 26, 2023 4:57 pm
- Forum: Feature Requests and Wishlists
- Topic: Update FormatDate() and ParseDate() to the new date range
- Replies: 27
- Views: 3104
Re: Update FormatDate() and ParseDate() to the new date range
@Sicro: In your original example, FormatDate() does not work correctly with a year >= 10000 when using the token "%yyyyy". After I changed the example so that it uses the token "%yyyy", it doesn't work correctly either. That's why I see a bug here. Or what other token should we u...
- Mon Dec 25, 2023 4:45 pm
- Forum: Feature Requests and Wishlists
- Topic: Update FormatDate() and ParseDate() to the new date range
- Replies: 27
- Views: 3104
Re: Update FormatDate() and ParseDate() to the new date range
Try to read and understand my complete previous message, and stop trolling here!
- Mon Dec 25, 2023 2:51 pm
- Forum: Feature Requests and Wishlists
- Topic: Update FormatDate() and ParseDate() to the new date range
- Replies: 27
- Views: 3104
Re: Update FormatDate() and ParseDate() to the new date range
I think, just like most other users, that PureBasic should work in accordance with its documentation.User_Russian wrote: You think that in 12345 year, current applications and PB will be relevant?
Fred wrote:Updated: Date library for full 64bit support (new range is year 1601 to 30827)
- Mon Dec 25, 2023 2:26 pm
- Forum: Feature Requests and Wishlists
- Topic: Update FormatDate() and ParseDate() to the new date range
- Replies: 27
- Views: 3104
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(&q...
- Mon Dec 25, 2023 1:41 pm
- Forum: Feature Requests and Wishlists
- Topic: Update FormatDate() and ParseDate() to the new date range
- Replies: 27
- Views: 3104
Re: Update FormatDate() and ParseDate() to the new date range
It would be OK for me if "%yy" corresponds to the last two digits of the respective year, and "%yyyy" corresponds to the full year number (as it is with PB < 6.10) - regardless whether the year has four or five digits. Note that ""%yyy"" also is not a valid to...
- Sun Dec 24, 2023 4:30 am
- Forum: Bugs - IDE
- Topic: No syntax highlighting of comments in ASM (PB 6.10, but also since 6.03)
- Replies: 7
- Views: 982
Re: No syntax highlighting of comments in ASM (PB 6.10, but also since 6.03)
It means that the entire line is ASM when using the ASM backend, and it means that the entire line is C when using the C backend.BarryG wrote: But doesn't the leading "!" mean the entire line is ASM?
- Sat Dec 23, 2023 8:49 pm
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 334
- Views: 41828
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
It works well here on Windows 11. I can't test on any other Windows version.User_Russian wrote: ↑Sat Dec 23, 2023 8:44 pm I tested the code with WebViewGadget from the first post in Win 7, Win 8 and Win 10, and the window is always empty (gadget is not initialized).
Does anyone have this code working fine?
- Fri Dec 22, 2023 10:13 pm
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 334
- Views: 41828
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Many thanks, Fred and Freak :!: And Merry Christmas to all :!: Ok. But then it is difficult to test the new beta. Absolutely. What should be the return value for the compare procedure in CustomSortList()? Only True/False or -1/0/1 ? I played a little bit, and the following seems to work :-) (note th...
- Wed Dec 20, 2023 9:22 pm
- Forum: Coding Questions
- Topic: bug or no bug?
- Replies: 3
- Views: 404
Re: bug or no bug?
I don't think that it's strange. It's just invalid syntax.
The situation is not specific for a StructureUnion.
Oops! mk-soft was quicker.
The situation is not specific for a StructureUnion.
Oops! mk-soft was quicker.