Search found 1391 matches

by NicTheQuick
Sat Aug 23, 2025 6:32 pm
Forum: Off Topic
Topic: The advertisings on this forum
Replies: 47
Views: 2046

Re: The advertisings on this forum

Honestly I don't know how I came to argue about Windows 7. Maybe because someone here in the board still uses it. Weird. I was quite sure you wrote something about Windows 7 here. Well, anyway. Sorry about that.

Your opinion about Linux is funny though. Depending on the distribution you chose there ...
by NicTheQuick
Sat Aug 23, 2025 11:14 am
Forum: Off Topic
Topic: The advertisings on this forum
Replies: 47
Views: 2046

Re: The advertisings on this forum



For security considerations, it's never advisable to use outdated software. It's already quite challenging to keep ahead of malware, viruses, and other bad players, but without regular patches and updates, it's simply risky to use unsupported software.


Hooey! Regurgitated scare verbiage ...
by NicTheQuick
Thu Aug 21, 2025 1:17 pm
Forum: Off Topic
Topic: The advertisings on this forum
Replies: 47
Views: 2046

Re: The advertisings on this forum

It's very hard to follow your posts because the English is very broken and some word combinations don't even make sense to me.

What do you mean with terminal? Are you browsing through the web in a terminal, in a command line interface?
And what do you mean with these woman that somehow pop up? And ...
by NicTheQuick
Wed Aug 20, 2025 2:04 pm
Forum: General Discussion
Topic: Lost my account information.
Replies: 9
Views: 575

Re: Lost my account information.

The best way I can think of is to write a private message to Fred or use the support mail address.
by NicTheQuick
Wed Aug 13, 2025 12:40 pm
Forum: Bugs - IDE
Topic: numeric string constants change type
Replies: 10
Views: 519

Re: numeric string constants change type

Confirmed on Ubuntu Linux.
by NicTheQuick
Wed Aug 13, 2025 10:26 am
Forum: General Discussion
Topic: Speed on PB is slow ?!
Replies: 14
Views: 538

Re: Speed on PB is slow ?!

idle wrote: Wed Aug 13, 2025 2:48 am
NicTheQuick wrote: Tue Aug 12, 2025 5:57 pm On my machine the code is done in 0 milliseconds. I guess the optimization is working fine. :D

Without optimization it is 1512 milliseconds. :wink:

So don't forget to enable optimizations in the compiler options.
C Optimizer removed the loop. :lol:
Exactly :lol:
by NicTheQuick
Tue Aug 12, 2025 7:41 pm
Forum: General Discussion
Topic: Speed on PB is slow ?!
Replies: 14
Views: 538

Re: Speed on PB is slow ?!

threedslider wrote: Tue Aug 12, 2025 7:21 pm@NicTheQuick : How you did that ??? Say me your tips please !!
You have to enable the compiler optimizations in the compiler options. And of course for that you have to use the C backend and not the ASM backend. The ASM backend has no future anyway in my opinion.
by NicTheQuick
Tue Aug 12, 2025 5:57 pm
Forum: General Discussion
Topic: Speed on PB is slow ?!
Replies: 14
Views: 538

Re: Speed on PB is slow ?!

On my machine the code is done in 0 milliseconds. I guess the optimization is working fine. :D

Without optimization it is 1512 milliseconds. :wink:

So don't forget to enable optimizations in the compiler options.
by NicTheQuick
Mon Aug 11, 2025 12:45 pm
Forum: Coding Questions
Topic: why I cannot write a procedure in the loop event
Replies: 19
Views: 872

Re: why I cannot write a procedure in the loop event

If you change the content of any gadget it usually generates multiple new window events that have to be handled by the event loop. And when you change the gadget in each loop it will continue to create more events that you are able to handle which results in visible issues.

So better only call your ...
by NicTheQuick
Sat Aug 09, 2025 11:28 am
Forum: Coding Questions
Topic: [SOLVED] confusion with ReplaceString()
Replies: 9
Views: 396

Re: [SOLVED] confusion with ReplaceString()

In such cases always start replacing the longest patterns first.
by NicTheQuick
Fri Aug 01, 2025 9:45 am
Forum: Mac OSX
Topic: PUREBASIC_HOME
Replies: 4
Views: 330

Re: PUREBASIC_HOME

There was a similar thread about this here: viewtopic.php?t=86461
by NicTheQuick
Wed Jul 30, 2025 6:12 pm
Forum: Coding Questions
Topic: GetExtensionPart fails with a space
Replies: 17
Views: 576

Re: GetExtensionPart fails with a space


I like the game :D

Procedure.s MyGetExtensionPart(path.s)
pos = FindString(path,".")
extn = Len(path)-pos
ProcedureReturn Right(path,extn)
EndProcedure

Debug MyGetExtensionPart("c:\test\file.john doe")


It's not that easy. Try paths with multiple dots. :D
Also you could even simplify ...
by NicTheQuick
Wed Jul 30, 2025 11:38 am
Forum: Coding Questions
Topic: GetExtensionPart fails with a space
Replies: 17
Views: 576

Re: GetExtensionPart fails with a space

Here are my ideas. I don't like the ReplaceString method.
Procedure.s MyGetExtensionPart1(path.s)
path = GetFilePart(path)
If Not FindString(path, "."):
ProcedureReturn ""
EndIf
ProcedureReturn ReverseString(StringField(ReverseString(path), 1, "."))
EndProcedure
Procedure.s MyGetExtensionPart2 ...
by NicTheQuick
Mon Jul 28, 2025 3:35 pm
Forum: Off Topic
Topic: Is Google excluded from crawling this board?
Replies: 22
Views: 1408

Re: Is Google excluded from crawling this board?

Fred wrote: Mon Jul 28, 2025 2:06 pm I removed the bot check, it should be better
Thanks, Fred. Let's wait a few days until Google is up-to-date again now.
by NicTheQuick
Fri Jul 25, 2025 12:45 pm
Forum: Coding Questions
Topic: Memory (re)allocation / structure pointer initialisation safety
Replies: 3
Views: 324

Re: Memory (re)allocation / structure pointer initialisation safety

Both. When you allocate memory using ReAllocateMemory() it will exists until you use FreeMemory(). Nothing else will free it again. But if you lost the corresponding pointer it will result in a memory leak because will never be able to free it again without knowing the pointer.

And I just found one ...