Search found 3947 matches

by Little John
Tue Nov 18, 2025 2:39 pm
Forum: Bugs - Documentation
Topic: MemorySize()
Replies: 0
Views: 44

MemorySize()

This post is based on the documentation of PB 6.21 and PB 6.30 beta 4.
There is a contradiction between the help for ReceiveHTTPMemory() and the help for MemorySize() .

ReceiveHTTPMemory()

Return value

Returns the new memory buffer address if the download was successful, zero otherwise ...
by Little John
Tue Nov 18, 2025 11:30 am
Forum: Off Topic
Topic: Free, Opensource…
Replies: 14
Views: 525

Re: Free, Opensource…

Quin wrote: Sun Nov 16, 2025 5:55 pm This just seems like attention farming.
Yep. I only can say: “Don't feed the troll.”
by Little John
Mon Nov 17, 2025 11:57 pm
Forum: Applications - Feedback and Discussion
Topic: Xmas Tree Designer
Replies: 4
Views: 184

Re: Xmas Tree Designer

That looks very nice! And I can imagine that using the program is much fun for children.
by Little John
Thu Oct 30, 2025 5:12 pm
Forum: Tricks 'n' Tips
Topic: AddPathSpline
Replies: 15
Views: 991

Re: AddPathSpline

pf shadoko wrote: Wed Oct 29, 2025 10:43 pm @Justin
Indeed.
I modified the code in my first post.
Works fine here now, without flickering.
Thanks for sharing this code!
by Little John
Thu Oct 30, 2025 5:06 pm
Forum: Coding Questions
Topic: Avoid literal string 8192 limit
Replies: 9
Views: 543

Re: Avoid literal string 8192 limit

@minimy:

Sorry, but you are missing the point. As others already mentioned, obviously you don't understand what a literal string (or string literal ) is:
E.g. "foo" is a literal string.
E.g. a$ or b$(0) (as an array element) are string variables .
E.g. Space(n) is a string function .
by Little John
Mon Oct 27, 2025 11:39 pm
Forum: Coding Questions
Topic: LineXY needs 3D???
Replies: 7
Views: 616

Re: LineXY needs 3D???

Carm3D wrote: Mon Oct 27, 2025 11:25 pm For some reason the error reported was not that the variable doesn't exist, but 3D was required.
We cannot reproduce that, as the code you posted to show the issue is not executable.
Perhaps using ‘EnableExplicit’ in your code would have helped.
by Little John
Mon Oct 27, 2025 7:09 pm
Forum: Coding Questions
Topic: Replace the colon character in file [Resolved]
Replies: 2
Views: 387

Re: Replace the colon character in file

Code: Select all

Debug Chr($2236)
by Little John
Sun Oct 26, 2025 2:44 pm
Forum: Coding Questions
Topic: [SOLVED] Module Declaration Order
Replies: 5
Views: 603

Re: Module Declaration Order

DeclareModule mod1
Declare add(a, b)
Declare modAdd(a, b)
EndDeclareModule

DeclareModule mod2
Declare add(a, b)
Declare modAdd(a, b)
EndDeclareModule


Module mod1
Procedure add(a, b)
ProcedureReturn a + b
EndProcedure

Procedure modAdd(a, b)
ProcedureReturn mod2::add(a, b ...
by Little John
Fri Oct 24, 2025 9:30 am
Forum: Off Topic
Topic: Japanese ANIME quality up on streming
Replies: 39
Views: 7991

Re: Japanese ANIME quality up on streming


Why is this thread still open and in the Tricks 'n' Tips forum?

Agreed. All this is not a tip or trick. Needs to go into "Off Topic" I say.

... and this thread is getting increasingly crazy:

In this PureBasic, one cannot survive unless they consider the outcome of suppressing Freak's anger ...
by Little John
Mon Oct 20, 2025 11:00 am
Forum: Coding Questions
Topic: WingDings font not displaying
Replies: 7
Views: 611

Re: WingDings font not displaying

The WingDings font used in the demo code is too big (or the used gadgets are too small).

; PB 6.30 beta 3 (x64) on Windows 11 Pro (version 24H2, last update 2025 Oct. 15)

EnableExplicit

Define txt$ = "1 élève "
Define.i gi, gY, gH = 25
Define.i font_wd = LoadFont(0, "WingDings", 8)
Define.i font ...
by Little John
Tue Oct 07, 2025 8:13 am
Forum: Coding Questions
Topic: [SOLVED] No button or progress gadgets appearing?
Replies: 6
Views: 459

Re: No button or progress gadgets appearing?

Kiffi wrote: Tue Oct 07, 2025 12:27 am <cough>
Bless you! :wink:
by Little John
Mon Oct 06, 2025 10:43 am
Forum: Bugs - Windows
Topic: [Done] UncompressPackFile() should preserve modification times
Replies: 4
Views: 1554

Re: [Done] UncompressPackFile() should preserve modification times

Fix confirmed with PB 6.30 beta 3 (x64) on Windows 11.
Thank you, Fred :!:
by Little John
Mon Sep 29, 2025 4:14 pm
Forum: Feature Requests and Wishlists
Topic: GadgetFit(gadget) command
Replies: 2
Views: 683

Re: GadgetFit(gadget) command

This can be done much simpler:
Procedure GadgetFit (gadget.i)
Protected.i w_req, h_req

w_req = GadgetWidth (gadget, #PB_Gadget_RequiredSize)
h_req = GadgetHeight(gadget, #PB_Gadget_RequiredSize)

If w_req <> GadgetWidth(gadget) Or h_req <> GadgetHeight(gadget)
ResizeGadget(gadget, #PB ...
by Little John
Sun Sep 28, 2025 11:55 am
Forum: Windows
Topic: Crashes while using the IDE
Replies: 7
Views: 1544

Re: [PB6.30b2] Crashes while using the IDE

marcoagpinto wrote: Sun Sep 28, 2025 9:21 am But today it was Windows 11 that crashed and self-rebooted ("Windows encountered a problem blah blah").
Who says this problem was caused by the PureBasic IDE?
by Little John
Sat Sep 27, 2025 6:22 pm
Forum: Coding Questions
Topic: PB IDE font setup ...
Replies: 9
Views: 628

Re: PB IDE font setup ...

marc_256 wrote: Sat Sep 27, 2025 3:57 pm Hi Demivec,

I did this already, but then I lose all my graphic characters (Page437).
only when I use the OEM-US character set I can use the Page437 character set.

Marc
I have a similar problem: my computer doesn't run on steam power. It seems I have to use electricity. :mrgreen: