Search found 71 matches

by Skipper
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...
by Skipper
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 ...
by Skipper
Sat Jan 10, 2026 9:36 pm
Forum: Coding Questions
Topic: PlaySound with a 20KHz file produces sound ?!
Replies: 29
Views: 1389

Re: PlaySound with a 20KHz file produces sound ?!

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.
Yes, I agree. I also agree with Idle about sampling rate requirements. Search for "Nyquist frequency".
by Skipper
Fri Jan 09, 2026 10:14 am
Forum: Announcement
Topic: ProGUI V3 Alpha 3 Ready for testing!
Replies: 249
Views: 127508

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.
by Skipper
Fri Jan 09, 2026 9:50 am
Forum: Tricks 'n' Tips
Topic: Sprite stacking - 3d effect
Replies: 10
Views: 863

Re: Sprite stacking - 3d effect

Very cool - thanks a lot for sharing this idea...!
by Skipper
Fri Jan 09, 2026 9:39 am
Forum: Coding Questions
Topic: PlaySound with a 20KHz file produces sound ?!
Replies: 29
Views: 1389

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
by Skipper
Thu Dec 18, 2025 9:36 am
Forum: Announcement
Topic: PureBasic 6.30 is out !
Replies: 183
Views: 44701

Re: PureBasic 6.30 beta 6 is ready !

Thank you, Fred & team, for your continued support. :D
by Skipper
Wed Dec 17, 2025 12:43 pm
Forum: Off Topic
Topic: Can current AI understand PureBasic and....
Replies: 16
Views: 2846

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...
by Skipper
Thu Oct 30, 2025 1:43 pm
Forum: Feature Requests and Wishlists
Topic: Get access to C-backend compiler switches?
Replies: 4
Views: 2549

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 ...
by Skipper
Thu Oct 30, 2025 1:37 pm
Forum: Tricks 'n' Tips
Topic: Vector Curve Designer (RAD Tool)
Replies: 101
Views: 45632

Re: Vector Curve Designer (RAD Tool)

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.
I do, gladly so. Thanks for publishing your code ! :D
by Skipper
Mon Oct 27, 2025 1:14 pm
Forum: Tricks 'n' Tips
Topic: Animated Vector Graphics Scene Graph
Replies: 73
Views: 11068

Re: Animated Vector Graphics Scene Graph

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?
Exactly my thinking as well, as this is more and more moving towards OpenVG functionality.
by Skipper
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 ...
by Skipper
Tue Sep 16, 2025 10:15 am
Forum: 3D Programming
Topic: Black Hole simulation at the approximation
Replies: 14
Views: 2648

Re: Black Hole simulation at the approximation

threedslider wrote: Sat Sep 13, 2025 5:48 pm
Skipper wrote: Sat Sep 13, 2025 4:33 pm Same here, on OSX x64
Now it works for you ?

It does now, thanks!
by Skipper
Sat Sep 13, 2025 4:33 pm
Forum: 3D Programming
Topic: Black Hole simulation at the approximation
Replies: 14
Views: 2648

Re: Black Hole simulation at the approximation

Same here, on OSX x64