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 ...
Search found 3947 matches
- Tue Nov 18, 2025 2:39 pm
- Forum: Bugs - Documentation
- Topic: MemorySize()
- Replies: 0
- Views: 44
- Tue Nov 18, 2025 11:30 am
- Forum: Off Topic
- Topic: Free, Opensource…
- Replies: 14
- Views: 525
Re: Free, Opensource…
Yep. I only can say: “Don't feed the troll.”
- 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.
- Thu Oct 30, 2025 5:12 pm
- Forum: Tricks 'n' Tips
- Topic: AddPathSpline
- Replies: 15
- Views: 991
Re: AddPathSpline
Works fine here now, without flickering.
Thanks for sharing this code!
- 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 .
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 .
- Mon Oct 27, 2025 11:39 pm
- Forum: Coding Questions
- Topic: LineXY needs 3D???
- Replies: 7
- Views: 616
Re: LineXY needs 3D???
We cannot reproduce that, as the code you posted to show the issue is not executable.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.
Perhaps using ‘EnableExplicit’ in your code would have helped.
- 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)- 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 ...
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 ...
- 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 ...
- 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 ...
; 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 ...
- 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?
Bless you!
- 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
Thank you, Fred
- 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 ...
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 ...
- 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
Who says this problem was caused by the PureBasic 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").
- Sat Sep 27, 2025 6:22 pm
- Forum: Coding Questions
- Topic: PB IDE font setup ...
- Replies: 9
- Views: 628
Re: PB IDE font setup ...
I have a similar problem: my computer doesn't run on steam power. It seems I have to use electricity.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