Search found 1803 matches

by kenmo
Fri Jan 23, 2026 11:59 pm
Forum: Announcement
Topic: PureBasic 6.40 alpha 3 is ready, surprise inside !
Replies: 92
Views: 5844

Re: PureBasic 6.40 alpha 1 is ready, surprise inside !

Very interesting surprise, thanks. Looking forward to testing it when there's a Linux build. (No rush! 8) )
by kenmo
Wed Jan 21, 2026 11:45 pm
Forum: Coding Questions
Topic: How to read Json results?
Replies: 13
Views: 624

Re: How to read Json results?

If you don't like the Structure approach 8)
you can try my JSON_Helper.pbi
https://raw.githubusercontent.com/kenmo-pb/includes/refs/heads/master/JSON_Helper.pbi


; https://raw.githubusercontent.com/kenmo-pb/includes/refs/heads/master/JSON_Helper.pbi
XIncludeFile "JSON_Helper.pbi"


JSONText.s ...
by kenmo
Thu Jan 15, 2026 1:40 am
Forum: Off Topic
Topic: PureBasic: the Quiet Survivor
Replies: 26
Views: 1207

Re: PureBasic: the Quiet Survivor

Thanks, interesting article, love to see PB get more recognition for its strengths!
by kenmo
Thu Jan 15, 2026 1:34 am
Forum: Announcement
Topic: PureBasic 6.30 is out !
Replies: 186
Views: 45413

Re: PureBasic 6.30 is out !


Fred released 6.30, then re-released 6.30 with one bug fix, now there is another commit in GitHub with a bug fix.

@Fred, if you fix more bugs, could you please release the fixes as V6.31 so that users don't mix several 6.30 without knowing which one is which one?


Of course Fred will release ...
by kenmo
Thu Jan 15, 2026 1:28 am
Forum: Game Programming
Topic: Not recommanded by Chatgpt for PB games :(
Replies: 26
Views: 1194

Re: Not recommanded by Chatgpt for PB games :(

1. Everything has pros and cons, you won't get a useful answer to a vague question like "which is the best". Do you have some specific criteria?

2. It is comparing 5 game engines to a general purpose programming language. Very biased comparison :lol:

3. I wonder why it says PB is "not suitable ...
by kenmo
Sun Jan 11, 2026 12:13 am
Forum: Bugs - Linux
Topic: [Ubuntu 24.04] Window won't maximize until refocused
Replies: 3
Views: 401

Re: [Ubuntu 24.04] Window won't maximize until refocused


Hi.
Try to remove #PB_Window_ScreenCentered from the OpenWindow command.

If OpenWindow(0, 0, 0, 400, 100, "Timer Example", #PB_Window_SystemMenu | #PB_Window_Maximize | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget)


Good idea, but doesn't solve the issue. It just opens at top-left ...
by kenmo
Sat Jan 10, 2026 10:18 pm
Forum: Bugs - Linux
Topic: [Ubuntu 24.04] Window won't maximize until refocused
Replies: 3
Views: 401

Re: [Ubuntu 24.04] Window won't maximize until refocused

Issue occurs whether I'm in an x11 or a wayland session, confirmed with echo $XDG_SESSION_TYPE, I don't know if that info matters...

Also opening a Requester shows the effect too, it suddenly maximizes its parent window, which was supposed to already be maximized.

Thanks for reading...
by kenmo
Sat Jan 10, 2026 4:10 am
Forum: Bugs - Linux
Topic: [Ubuntu 24.04] Window won't maximize until refocused
Replies: 3
Views: 401

[Ubuntu 24.04] Window won't maximize until refocused

PureBasic 6.21 x64
and PureBasic 6.30 Beta 7 x64

I updated my Linux OS from ElementaryOS 7.1 to 8.1, which jumps from Ubuntu 22 based to Ubuntu 24.04 based, and I have a PB window problem. Affects default and "gtk2" subsystem. "qt" OK.
Yes I am now using the "Ubuntu 24.04" PB suite.

If a window ...
by kenmo
Tue Dec 09, 2025 10:16 pm
Forum: Coding Questions
Topic: [SOLVED (my fault)] FindString
Replies: 4
Views: 405

Re: FindString

No bug. 3rd parameter is Start Position, not case flag.
by kenmo
Thu Dec 04, 2025 4:59 pm
Forum: Mac OSX
Topic: GetCurrentDirectory()
Replies: 22
Views: 12678

Re: GetCurrentDirectory()

Can anyone enlighten me as to what is going on?

Yes, it's a very annoying MacOS feature called "App Translocation" which runs your program from a randomized path, supposedly for security reasons although it's not difficult to get around it... Search "App Translocation" and you'll need some ...
by kenmo
Thu Dec 04, 2025 2:30 pm
Forum: Off Topic
Topic: A tool for transferring from RTF to PDF?
Replies: 5
Views: 928

Re: A tool for transferring from RTF to PDF?

Good luck! :) I used it within a PB program to convert Markdown to HTML. But even then I was calling the Pandoc executable. It would be more efficient to go a step further and load Pandoc library for direct function calls....... but I never went that far.

https://pandoc.org/
by kenmo
Thu Dec 04, 2025 1:41 pm
Forum: Off Topic
Topic: A tool for transferring from RTF to PDF?
Replies: 5
Views: 928

Re: A tool for transferring from RTF to PDF?

Pandoc can likely do what you need...
by kenmo
Sat Nov 29, 2025 2:07 am
Forum: Feature Requests and Wishlists
Topic: Windows real dark theme.
Replies: 6
Views: 1220

Re: Windows real dark theme.

Thread about this from August. In short, MS has made it a nightmare to add dark mode to Win32 or "legacy" software, without rewriting them in newer frameworks. And even then, Windows 11 itself still doesn't fully implement dark mode everywhere :?
https://www.purebasic.fr/english/viewtopic.php?t ...
by kenmo
Tue Nov 25, 2025 3:19 pm
Forum: Feature Requests and Wishlists
Topic: Updated controller support
Replies: 12
Views: 1734

Re: Updated controller support

Hi coco2, I agree the Joystick library could use a major update. It would be nice if all PB platforms used SDL and its gamepad mappings. If I knew how to make PureLibraries I would contribute!

We last discussed SDL2 in 2023 :) I thought I should mention that major SDL3 released this year and I've ...
by kenmo
Wed Nov 19, 2025 2:46 pm
Forum: Coding Questions
Topic: Forced Preferences utf8 BOM
Replies: 3
Views: 700

Re: Forced Preferences utf8 BOM

Not sure if this is a "bug" or a "feature request" but I agree, OpenPreferences should preserve whether there's a BOM, or else maybe allow the NoBOM flag like CreatePreferences().

In the meantime a procedure can be used to remove it. Read file to buffer, check for BOM + CRLF, if found write the ...