#PB_String_InPlace for LCase and UCase
It would be useful to be able to LCase or UCase larger strings in place the same way that ReplaceString can.
FindString in a buffer
It would be useful to be able to supply a pointer argument to FindString's String$ parameter.
TCase or ICase
A New ...
Search found 777 matches
- Tue Feb 24, 2026 11:21 pm
- Forum: Feature Requests and Wishlists
- Topic: Some additional string library functions
- Replies: 2
- Views: 74
- Mon Feb 23, 2026 9:19 pm
- Forum: Coding Questions
- Topic: What does "Overflow in a string memory block" mean?
- Replies: 6
- Views: 270
Re: What does "Overflow in a string memory block" mean?
It's a bit confusing that a totally different line was spat out as the errorneous one.
The purifier does sample testing periodically rather than all the time. It's error messages aren't definite like a compiler or debugger error is, this is done for performance reasons. The error is reported at ...
- Mon Feb 23, 2026 9:09 pm
- Forum: The PureBasic Editor
- Topic: Change IDE history for multiple versions?
- Replies: 4
- Views: 110
Re: Change IDE history for multiple versions?
The /H parameter allows you to set a specific location for the history file. (If you don't want everything to go /PORTABLE).
- Sat Feb 14, 2026 7:19 pm
- Forum: General Discussion
- Topic: My Bookmark WebView
- Replies: 5
- Views: 402
Re: My Bookmark WebView
Nice project.
This is the first time I have ever tried binding events/callbacks in PureBasic, and I think I may become a convert to that technique instead of a big event loop with many nested select and conditional statements. It was all much simpler to keep organised than I imagined.
Yes, I ...
This is the first time I have ever tried binding events/callbacks in PureBasic, and I think I may become a convert to that technique instead of a big event loop with many nested select and conditional statements. It was all much simpler to keep organised than I imagined.
Yes, I ...
- Fri Feb 13, 2026 3:33 pm
- Forum: Coding Questions
- Topic: Get the bigger used enumeration [Resolved]
- Replies: 17
- Views: 630
Re: Get the bigger used enumeration
You can achieve what you want with named enumerations, the compiler tracks the sequence separately across different names:
Enumeration FIRST 1
#F1st
#F2nd
#F3rd
EndEnumeration
Enumeration SECOND 1
#One
#Two
#Three
#Four
#Five
EndEnumeration
Enumeration FIRST
#F4th
#F5th
#F6th
#F7th ...
Enumeration FIRST 1
#F1st
#F2nd
#F3rd
EndEnumeration
Enumeration SECOND 1
#One
#Two
#Three
#Four
#Five
EndEnumeration
Enumeration FIRST
#F4th
#F5th
#F6th
#F7th ...
- Fri Feb 13, 2026 2:27 pm
- Forum: Bugs - Documentation
- Topic: DestroyTrackWindow() in UserGuide code. Pointer type mismatch?
- Replies: 3
- Views: 263
- Tue Feb 10, 2026 5:40 pm
- Forum: Off Topic
- Topic: Why is there no InspectrGadget?
- Replies: 4
- Views: 296
Re: Why is there no InspectrGadget?
- Sat Feb 07, 2026 8:38 pm
- Forum: Mac OSX
- Topic: [Newbie!] Pointers and Multi-Windows
- Replies: 16
- Views: 631
Re: [Newbie!] Pointers and Multi-Windows
without extensive platform-specific customization. That thing I wish to avoid.
I'm not aware of any language that can do this without the implementation of an abstraction layer of some description - but with that will come with at least some of the downsides of what you are seeing in Java, for ...
- Sat Feb 07, 2026 5:24 pm
- Forum: Feature Requests and Wishlists
- Topic: Optional step out index for DebuggerError() and DebuggerWarning() to highlight the calling line
- Replies: 8
- Views: 537
Re: Optional step out index for DebuggerError() and DebuggerWarning() to highlight the calling line
Isn't this what the Callstack is for in any case?
- Sat Feb 07, 2026 3:56 pm
- Forum: Coding Questions
- Topic: Retrieve text from ScintillaGadget
- Replies: 2
- Views: 145
Re: Retrieve text from ScintillaGadget
I don't know if it's a limitation of the debugger or the debug output window but you're getting the right result just not seeing it. This will point the memory viewer at the end of the buffer:
EnableExplicit
#SciWindow = 2
#SciTextGadget = 3
Define *t
Define.i i, Pos, L, Range, Buffer, Event ...
EnableExplicit
#SciWindow = 2
#SciTextGadget = 3
Define *t
Define.i i, Pos, L, Range, Buffer, Event ...
- Fri Feb 06, 2026 11:44 pm
- Forum: Mac OSX
- Topic: [Newbie!] Pointers and Multi-Windows
- Replies: 16
- Views: 631
Re: [Newbie!] Pointers and Multi-Windows
Hello and Welcome syntonica!
PureBasic maintains its own gadget numbers which are separate from the OS's Window ID or handle. Some commands require a number, others an ID or handle. You're supplying a number to a command which wants an ID, in this case CreateStatusBar requires a WindowID not a ...
PureBasic maintains its own gadget numbers which are separate from the OS's Window ID or handle. Some commands require a number, others an ID or handle. You're supplying a number to a command which wants an ID, in this case CreateStatusBar requires a WindowID not a ...
- Fri Feb 06, 2026 6:35 pm
- Forum: Bugs - IDE
- Topic: Form File values missing in Variable Viewer Tool
- Replies: 0
- Views: 257
Form File values missing in Variable Viewer Tool
Just for clarification the Editor tool, not the Debugger tool (we've played that game before! :) )
When a form design file is opened the Variable Viewer tool can't see the contained constants or variables until after a switch to code view is made.
It also lags behind the addition or deletion of ...
When a form design file is opened the Variable Viewer tool can't see the contained constants or variables until after a switch to code view is made.
It also lags behind the addition or deletion of ...
- Fri Feb 06, 2026 5:52 pm
- Forum: Bugs - IDE
- Topic: Form Designer Change Parent Bugs
- Replies: 0
- Views: 200
Form Designer Change Parent Bugs
1) When a gadget is moved into a parent gadget the X and Y co-ordinates are zeroed. They should maybe remain unchanged or better still the correct offset calculated with respect to the original point and new origin so that relative position to the form origin is unaltered.
2) Where a parent Panel ...
2) Where a parent Panel ...
- Sun Feb 01, 2026 3:37 pm
- Forum: Off Topic
- Topic: ChatGPT for database design
- Replies: 2
- Views: 741
Re: ChatGPT for database design
Very interesting but a long, long way from a functional ERP database schema that is workable in a real application. It doesn't even meet Tier 3 never mind Tier 1!
There's nothing to stop a referred, well anything really, from being deleted. All that will occur is a "referential integrity" error ...
There's nothing to stop a referred, well anything really, from being deleted. All that will occur is a "referential integrity" error ...
- Tue Jan 20, 2026 8:15 pm
- Forum: Coding Questions
- Topic: Removed: ASCII mode -- What dooes that mean??
- Replies: 21
- Views: 4500
Re: Removed: ASCII mode -- What dooes that mean??
The help gives this code snippet telling size will be 10 but when I run it I get 18 instead:
It's out of date, it was written for the 32-bit compiler where pointers are 4 bytes (32-bits). Pointers are 8 bytes on a 64-bit processor.
Are you looking at an old help file? It looks Ok to me in the ...