Search found 71 matches
- Mon Jan 12, 2026 3:15 pm
- Forum: Coding Questions
- Topic: ScintillaGadget and web language
- Replies: 4
- Views: 280
Re: ScintillaGadget and web language
you might want to introduce a 'state' variable and store the current language at hand. If you discover, perhaps in HTML, that you find JS, you can change the state and continue with the JS highlighter...
- Mon Jan 12, 2026 9:23 am
- Forum: Coding Questions
- Topic: Detect Desktop after Resume from Sleep ...
- Replies: 7
- Views: 427
- Mon Jan 12, 2026 9:19 am
- Forum: Coding Questions
- Topic: ScintillaGadget and web language
- Replies: 4
- Views: 280
Re: ScintillaGadget and web language
For four languages, do not try to offer syntax highlighting for all of them at the same time .
Detect the language currently in use first, then only use the highlighter for that language. Invariably, there will be overlaps between the languages (keywords, structures, etc.), making parallel support ...
Detect the language currently in use first, then only use the highlighter for that language. Invariably, there will be overlaps between the languages (keywords, structures, etc.), making parallel support ...
- Sat Jan 10, 2026 9:36 pm
- Forum: Coding Questions
- Topic: PlaySound with a 20KHz file produces sound ?!
- Replies: 29
- Views: 1391
Re: PlaySound with a 20KHz file produces sound ?!
Yes, I agree. I also agree with Idle about sampling rate requirements. Search for "Nyquist frequency".infratec wrote: Sat Jan 10, 2026 10:56 am You need an oszilloscope to check it.
If it is not 100% sine wave, you can hear the generated subfrequencies.
- Fri Jan 09, 2026 10:14 am
- Forum: Announcement
- Topic: ProGUI V3 Alpha 3 Ready for testing!
- Replies: 253
- Views: 127530
Re: ProGUI V3 Alpha 3 Ready for testing!
Hi Chris,
this seems to work just fine on a Win11/Xeon box, and as you documented: showing the Win10 GUI emulation.
this seems to work just fine on a Win11/Xeon box, and as you documented: showing the Win10 GUI emulation.
- Fri Jan 09, 2026 9:50 am
- Forum: Tricks 'n' Tips
- Topic: Sprite stacking - 3d effect
- Replies: 10
- Views: 864
Re: Sprite stacking - 3d effect
Very cool - thanks a lot for sharing this idea...!
- Fri Jan 09, 2026 9:39 am
- Forum: Coding Questions
- Topic: PlaySound with a 20KHz file produces sound ?!
- Replies: 29
- Views: 1391
Re: PlaySound with a 20KHz file produces sound ?!
Are these three lines all the code you're using?
Can you upload the WAV-file here?
What platform are you on and which version of PureBasic are you using?
cheers
Skipper
Can you upload the WAV-file here?
What platform are you on and which version of PureBasic are you using?
cheers
Skipper
- Thu Dec 18, 2025 9:36 am
- Forum: Announcement
- Topic: PureBasic 6.30 is out !
- Replies: 183
- Views: 44710
Re: PureBasic 6.30 beta 6 is ready !
Thank you, Fred & team, for your continued support. 
- Wed Dec 17, 2025 12:43 pm
- Forum: Off Topic
- Topic: Can current AI understand PureBasic and....
- Replies: 16
- Views: 2847
Re: Can current AI understand PureBasic and....
Can current AI "understand"....
No, it's just like a weather forecast in that its responses are based on likelihoods of being correct. There is no real understanding involved, it's merely a text transformation based on probabilities...
No, it's just like a weather forecast in that its responses are based on likelihoods of being correct. There is no real understanding involved, it's merely a text transformation based on probabilities...
- Thu Oct 30, 2025 1:43 pm
- Forum: Feature Requests and Wishlists
- Topic: Get access to C-backend compiler switches?
- Replies: 4
- Views: 2550
Re: Get access to C-backend compiler switches?
would be handy, you could also use pragma to some extent, like if you want to optimize a function or ignore a warning
you can test if it works like this
!#pragma optimize ("-O3");
procedure foo()
or to unroll a loop
!#pragma ivdep;
While(r > #size)
Thanks for pointing this out. Would it ...
- Thu Oct 30, 2025 1:37 pm
- Forum: Tricks 'n' Tips
- Topic: Vector Curve Designer (RAD Tool)
- Replies: 101
- Views: 45633
Re: Vector Curve Designer (RAD Tool)
I do, gladly so. Thanks for publishing your code !netmaestro wrote: Tue Oct 14, 2025 7:10 pm Is anyone actually using this? I ask because I'm considering a modification or two and if nobody is really using it I can skip it.
- Mon Oct 27, 2025 1:14 pm
- Forum: Tricks 'n' Tips
- Topic: Animated Vector Graphics Scene Graph
- Replies: 73
- Views: 11075
Re: Animated Vector Graphics Scene Graph
Exactly my thinking as well, as this is more and more moving towards OpenVG functionality.pf shadoko wrote: Mon Oct 27, 2025 10:25 am We will now need to adapt NanoSVG to PB to get the most out of SVG animations.
Any candidates?
- Fri Sep 26, 2025 1:27 pm
- Forum: Coding Questions
- Topic: Best approach to create a syntax reader for a code converter?
- Replies: 15
- Views: 2197
Re: Best approach to create a syntax reader for a code converter?
..... I had help from Skipper with the tokenizer and I managed to replicate it, but the Parser and lexer analyzer part is the worst xD
Likely I did not help @Skinkairewalker all that much. I just provided a binary of an Eiffel-tokenizer I'm implementing with Purebasic, and some Eiffel source ...
- Tue Sep 16, 2025 10:15 am
- Forum: 3D Programming
- Topic: Black Hole simulation at the approximation
- Replies: 14
- Views: 2649
Re: Black Hole simulation at the approximation
It does now, thanks!
- Sat Sep 13, 2025 4:33 pm
- Forum: 3D Programming
- Topic: Black Hole simulation at the approximation
- Replies: 14
- Views: 2649
Re: Black Hole simulation at the approximation
Same here, on OSX x64