Search found 298 matches

by Mindphazer
Mon Apr 15, 2024 6:24 pm
Forum: Bugs - Windows
Topic: Debug mode execution speed can vary on source whitespace.
Replies: 12
Views: 508

Re: Debug mode execution speed can vary on source whitespace.

On my Mac (M1), with the blank lines and without the blank lines, there is no difference :
- 51 ms debugger on
- 8 ms debugger off.

But on my Windows 10 at work, there is a difference of 12-15 ms with and without lines (debugger on)
Not difference with debugger off
by Mindphazer
Fri Mar 08, 2024 1:47 pm
Forum: Coding Questions
Topic: examples/Sprite.pb can't open screen
Replies: 3
Views: 128

Re: examples/Sprite.pb can't open screen

There's a long long list of corrected bugs in PB 6.10 for OSX... Maybe you can try the last beta ?
by Mindphazer
Fri Mar 08, 2024 10:27 am
Forum: Bugs - IDE
Topic: Text not readable (Linux)
Replies: 8
Views: 334

Re: Text not readable

Just tried, but i don't have this behaviour
The line that contains the error is hilighted, but i still can read the text
by Mindphazer
Sat Mar 02, 2024 12:41 pm
Forum: Coding Questions
Topic: [solved] Gadget number from hWnd?
Replies: 9
Views: 312

Re: Gadget number from hWnd?

BarryG wrote: Sat Mar 02, 2024 4:19 am Hi all. Back after an extended break to relax and find myself
Glad to see you back !
by Mindphazer
Thu Feb 22, 2024 11:33 am
Forum: Coding Questions
Topic: [PB6.10beta6] File is not initialised
Replies: 8
Views: 247

Re: [PB6.10beta6] File is not initialised

Why not use #PB_Any, instead of a given number ?
by Mindphazer
Fri Feb 16, 2024 3:50 pm
Forum: Coding Questions
Topic: ability to send french accent in purebasic mailer subject
Replies: 1
Views: 103

Re: ability to send french accent in purebasic mailer subject

I don't get it.
This example works, there's an accent in the subject

Code: Select all

If CreateMail(0, "test@xxx.com", "Accentué")
  AddMailRecipient(0, "someone@xxx.fr", #PB_Mail_To)
  Debug SendMail(0, "smtp.xxx.fr") 
EndIf
by Mindphazer
Thu Feb 15, 2024 1:19 pm
Forum: Tricks 'n' Tips
Topic: LIGEnhancements - ListIconGadget with Grouping and TileView
Replies: 35
Views: 4071

Re: LIGEnhancements - ListIconGadget with Grouping and TileView

Hi Denis, Jac
I'm facing the same error (PB 6.03 x64, C or ASM backend)
by Mindphazer
Fri Feb 02, 2024 3:12 pm
Forum: Windows
Topic: Panel Gadget Tab Images
Replies: 5
Views: 1094

Re: Panel Gadget Tab Images

Hi RASHAD,
i'm using your tip to have different colors for my panel tabs, but do you think it could be possible to adapt each tab's width to the text ?
With your example, each tab's width is the same, no matter of the text...

Thank you !
by Mindphazer
Wed Jan 31, 2024 3:22 pm
Forum: Coding Questions
Topic: [pb6.10b4] Required Compiler can't be found
Replies: 14
Views: 747

Re: [pb6.10b4] Required Compiler can't be found

Quin wrote: Wed Jan 31, 2024 2:47 pm +1. This gets incredibly annoying if you use C backend for everything, and have to go in and change it, every, time.
The Default compiler is C backend in PB6.10 beta3 (and 4)
by Mindphazer
Wed Jan 31, 2024 3:17 pm
Forum: Coding Questions
Topic: [pb6.10b4] Required Compiler can't be found
Replies: 14
Views: 747

Re: [pb6.10b4] Required Compiler can't be found

marcoagpinto wrote: Wed Jan 31, 2024 11:41 am I can't add it to the settings because selecting it with the file requester and pressing ADD doesn't work.
Well. It's strangely not possible to add the ASM beta compiler, though it's possible to add LTS (C or ASM) compiler
by Mindphazer
Wed Jan 31, 2024 11:32 am
Forum: Coding Questions
Topic: [pb6.10b4] Required Compiler can't be found
Replies: 14
Views: 747

Re: [pb6.10b4] Required Compiler can't be found

marcoagpinto wrote: Wed Jan 31, 2024 11:15 am
Mindphazer wrote: Wed Jan 31, 2024 10:35 am Uncheck "Use compiler" in the compiler options of your project.
It worked!!!!!

But it is still a bug.
No bug. If you tell the IDE to compile with a compiler that is not present in the settings, it won't work.
by Mindphazer
Wed Jan 31, 2024 10:35 am
Forum: Coding Questions
Topic: [pb6.10b4] Required Compiler can't be found
Replies: 14
Views: 747

Re: [pb6.10b4] Required Compiler can't be found

Uncheck "Use compiler" in the compiler options of your project.
by Mindphazer
Mon Jan 29, 2024 11:26 pm
Forum: Tricks 'n' Tips
Topic: Use "& operator" instead of modulo on power of 2 divisors
Replies: 5
Views: 625

Re: Use "& operator" instead of modulo on power of 2 divisors

Here are my results on my MacBook Pro M1 :

Code: Select all

Test results
Number of loops: 100,000,000
BinMod() function exec time ms: 512
M_binMod() macro exec time ms: 448
M_binMod2() macro exec time ms: 435
PureBasic % operator exec time ms: 435

PureBasic 6.04  MacOS arm-64 (C Backend)
by Mindphazer
Mon Jan 29, 2024 11:22 am
Forum: Tricks 'n' Tips
Topic: Japanese ANIME quality up on streming
Replies: 11
Views: 1516

Re: Japanese ANIME quality up on streming

Kiffi wrote: Mon Jan 29, 2024 11:14 am The code only works if you compile it under a full moon.
But be careful, there's a good chance you'll turn into a werewolf. :mrgreen: