Search found 579 matches

by Kurzer
Sun Oct 12, 2025 10:03 am
Forum: Coding Questions
Topic: For loops: Step 1 is not mandatory, but Step -1 is
Replies: 10
Views: 696

Re: For loops: Step 1 is not mandatory, but Step -1 is

I understand the technical background, the historically developed behavior, and also that people may have gotten used to it and that a change could probably break some code. And even if mk-soft says, “I don't understand the problem,” I can understand that in one way or another. Namely, if you've ...
by Kurzer
Fri Oct 10, 2025 9:13 pm
Forum: Coding Questions
Topic: For loops: Step 1 is not mandatory, but Step -1 is
Replies: 10
Views: 696

For loops: Step 1 is not mandatory, but Step -1 is

Hi,
It's only a minor detail, but why does the “Step” parameter have to be specified explicitly for downward counting >For loops< and not for upward counting >For loops<?

If “For i = 10 To 0” automatically used a step of -1 in the same way that “For i = 0 To 10” uses a step of 1, it would be more ...
by Kurzer
Wed Oct 08, 2025 9:03 pm
Forum: The PureBasic Editor
Topic: How can I change the font in the IDE console panel?
Replies: 3
Views: 734

Re: How can I change the font in the IDE console panel?

Thanks for the quick tip, Stargate. That works.
I would have preferred to set it separately, but at least this way I can choose a font that works reasonably well for both panels.
by Kurzer
Wed Oct 08, 2025 8:37 pm
Forum: The PureBasic Editor
Topic: How can I change the font in the IDE console panel?
Replies: 3
Views: 734

How can I change the font in the IDE console panel?

Hello fellows,

Maybe I'm overlooking something, but I'm wondering how I can change the font in the PureBasic IDE console. I'm referring to the panel below the area where the source code is edited; the area where the internal debugger displays its output. I'm currently using PB 6.21 x64

It has a ...
by Kurzer
Tue Oct 07, 2025 6:53 pm
Forum: Tricks 'n' Tips
Topic: [Win only] Small PowerShell script for context-sensitive searching in Microsoft Learn and the PureBasic Forums
Replies: 1
Views: 629

[Win only] Small PowerShell script for context-sensitive searching in Microsoft Learn and the PureBasic Forums

Hi everyone,

I used to work with the small but old PureBasic IDE tool "Alt-F1.exe" , which allowed searching for the word under the cursor via Google and in the PureBasic forums. That tool was handy, but it required an external EXE file.
I’ve now replaced it with a pure PowerShell script which ...
by Kurzer
Thu Oct 02, 2025 10:34 am
Forum: Coding Questions
Topic: Speech recognition
Replies: 23
Views: 1265

Re: Speech recognition

You must not forget that speech recognition does not take place in real time on your computer. In the case of WebView2, the Microsoft Azure Speech Service (cloud-based) is probably used.

This means that your spoken recording is first sent as an audio file to Microsoft's server, where it is ...
by Kurzer
Mon Sep 29, 2025 12:43 pm
Forum: Tricks 'n' Tips
Topic: WebViewGadget PermissionRequested callback
Replies: 7
Views: 2017

Re: WebViewGadget PermissionRequested callback

An impressive code. Thank you very much, Infratec. While testing with this code snippet, I noticed that a directory called “PureBasic_Compilation0.exe” is created under “C:\Users\[Username]\AppData\Roaming,” which contains many more subdirectories and data. I suspect this is created by WebView2 ...
by Kurzer
Fri Sep 26, 2025 8:25 pm
Forum: Off Topic
Topic: There is only one Enemy
Replies: 12
Views: 1114

Re: There is only one Enemy

Absolutely, let's toast with a beer.

But which one is best to choose? According to the German Brewers' Association, there are so many German beers that you could drink a different German beer brewed according to the purity law every day for 15 years! :mrgreen:

More info about german beer
by Kurzer
Fri Sep 26, 2025 6:10 pm
Forum: Off Topic
Topic: There is only one Enemy
Replies: 12
Views: 1114

Re: There is only one Enemy

Yes, of course.
You yourself are always your worst enemy. Your expectations, your self-doubt, your (lack of) knowledge, your ego, your fears... etc.
by Kurzer
Thu Sep 18, 2025 8:47 pm
Forum: Coding Questions
Topic: PB 6.21 x64: Invalid variable names with umlauts are truncated after the umlaut in the debugger's error description
Replies: 5
Views: 521

Re: PB 6.21 x64: Invalid variable names with umlauts are truncated after the umlaut in the debugger's error description

I can understand the explanation on a technical level...

If the parser stops nicely at the “ü” and the supposed variable ‘Hütte’ is only marked internally as “H,” then the error output has virtually no choice but to output “H.”

...but it may be confusing for inexperienced users if only the first ...
by Kurzer
Tue Sep 16, 2025 8:23 pm
Forum: Coding Questions
Topic: PB 6.21 x64: Invalid variable names with umlauts are truncated after the umlaut in the debugger's error description
Replies: 5
Views: 521

PB 6.21 x64: Invalid variable names with umlauts are truncated after the umlaut in the debugger's error description

Invalid variable names with umlauts are truncated after the umlaut in the debugger's error description.

Copy the following code into the IDE and press F5

EnableExplicit

If Hütte = 1
; nothing
EndIf


The message will be:
Line 3: Variables must be declared for ‘EnableExplicit’; H.

If you ...
by Kurzer
Tue Sep 16, 2025 2:52 pm
Forum: The PureBasic Editor
Topic: anyone using VsCode with Purebasic?
Replies: 12
Views: 1763

Re: anyone using VsCode with Purebasic?

No, don't worry, I'm not upset at all. GPT-5 already made this suggestion to compile the sources. It's just my personal quirk, or rather my extreme distractibility, that makes me reluctant to deal with these constantly popping up subtopics. :wink:
by Kurzer
Tue Sep 16, 2025 2:04 pm
Forum: Off Topic
Topic: Ethical Question
Replies: 9
Views: 1287

Re: Ethical Question

Wait a minute, you're saying there's a new version of “app X”? The old version doesn't run on your new OS, but this old version has been discontinued and can't be upgraded. Is that correct?

So who is producing the (unpaid) new version of “app X”? It must be another company that is continuing to ...
by Kurzer
Tue Sep 16, 2025 1:52 pm
Forum: The PureBasic Editor
Topic: anyone using VsCode with Purebasic?
Replies: 12
Views: 1763

Re: anyone using VsCode with Purebasic?


Can't you compile the dev version ?

To be honest, I haven't considered it.

I'm a bit “weird” in that regard and refuse to install additional software and compile something just to test something (unless I already have the compilation environment installed on my computer). In cases like this, I ...
by Kurzer
Tue Sep 16, 2025 11:50 am
Forum: The PureBasic Editor
Topic: anyone using VsCode with Purebasic?
Replies: 12
Views: 1763

Re: anyone using VsCode with Purebasic?

Grazie mille!

Great Piero, I extracted the file meimingqi222.vscode-purebasic-0.0.2 from your 7zip archive and renamed it to meimingqi222.vscode-purebasic-0.0.2.vsix.
Installation was working like a charme! :)

I'm still thinking about how to handle the updates. But tonight it occurred to me that ...