Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Matheos
User
Posts: 10 Joined: Sat Dec 13, 2025 9:23 pm
Post
by Matheos » Sun Feb 08, 2026 8:05 am
ZX80 wrote: Fri Feb 06, 2026 5:34 pm
Hello. I understand that my request isn't very interesting to many and will likely not be implemented, but I'm asking for the ability for EditorGadget to limit string length, like StringGadget does with the #PB_String_MaximumLength flag. However, I'd like this to also work with the #PB_Editor_WordWrap flag.Thank you.
I agree, it's a reasonable request — PB would benefit from real-world application features such as this.
It would be worthwhile to be able to set
maximum lines , in addition to
maximum characters per line , via SetGadgetAttribute() rather than using workarounds.
miso
Enthusiast
Posts: 717 Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary
Post
by miso » Sun Feb 08, 2026 9:38 am
Zlib inflate deflate for streams natively, without linking the lib.
ZX80
Enthusiast
Posts: 404 Joined: Mon Dec 12, 2016 1:37 pm
Post
by ZX80 » Sun Feb 08, 2026 12:29 pm
Matheos wrote: Sun Feb 08, 2026 8:05 am
It would be worthwhile to be able to set
maximum lines , in addition to
maximum characters per line , via SetGadgetAttribute() rather than using workarounds.
Good time,
Matheos .
Also I was just thinking of suggesting the following: create an array or string that will contain the allowed characters. For StringGadget() and EditorGadget() add an additional parameter, where the array with allowed characters that we created earlier [optional]. If array is not specified, all characters are allowed. Yes, I understand that all of this can be implemented through a callback function, but if it were native, it would be certainly much more convenient.
threedslider
Enthusiast
Posts: 616 Joined: Sat Feb 12, 2022 7:15 pm
Post
by threedslider » Mon Feb 09, 2026 1:12 pm
miso wrote: Sun Feb 08, 2026 9:38 am
Zlib inflate deflate for streams natively, without linking the lib.
+100 !
jacdelad
Addict
Posts: 2112 Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa
Post
by jacdelad » Wed Feb 25, 2026 9:36 am
PackerCallback() to be threadsafe (if performing multiple packing operations, how do I identify them?) and to be available for unpacking.
Good morning, that's a nice tnetennba!
PureBasic 6.30/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/2*DX517, 164TB+82TB+28TB+2TB SSD
Raspi 400/500
minimy
Addict
Posts: 900 Joined: Mon Jul 08, 2013 8:43 pm
Location: off world
Post
by minimy » Wed Feb 25, 2026 3:35 pm
I think will be nice an encoder for GIF.
If translation =Error : reply ="Sorry, Im Sp ani sh " : Endif
jacdelad
Addict
Posts: 2112 Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa
Post
by jacdelad » Fri Feb 27, 2026 1:11 pm
#PB_ListIcon_NoHeaders to be available in the dialog library. But maybe this can be done earlier.
Good morning, that's a nice tnetennba!
PureBasic 6.30/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/2*DX517, 164TB+82TB+28TB+2TB SSD
Raspi 400/500
threedslider
Enthusiast
Posts: 616 Joined: Sat Feb 12, 2022 7:15 pm
Post
by threedslider » Sat Mar 07, 2026 7:30 pm
Klangtaucher wrote: Sat Mar 07, 2026 2:04 pm
x^y instead of Pow(x, y)
x^y is a xor thing so you need to use Pow() function with power calculation
By the way, Welcome to the forum here
Drone
User
Posts: 27 Joined: Fri May 03, 2019 10:21 pm
Post
by Drone » Sat Mar 07, 2026 10:21 pm
threedslider wrote: Sat Mar 07, 2026 7:30 pm
Klangtaucher wrote: Sat Mar 07, 2026 2:04 pm
x^y instead of Pow(x, y)
x^y is a xor thing so you need to use Pow() function with power calculation
By the way, Welcome to the forum here
No
! = Bitwise XOR
XOR = Logical XOR
Everything Should Be Made as Simple as Possible, But Not Simpler - Albert Einstein
threedslider
Enthusiast
Posts: 616 Joined: Sat Feb 12, 2022 7:15 pm
Post
by threedslider » Sun Mar 08, 2026 12:08 am
Drone wrote: Sat Mar 07, 2026 10:21 pm
No
! = Bitwise XOR
XOR = Logical XOR
Again nope, sorry
! = it is a logical NOT (not to be confused with : ~ = bitwise NOT) (doesn't work with PB)
^ = it is a bitwise XOR (exclusive OR) (doesn't work in PB)
XOR in PB is a logical XOR and only work that and other NOT in PB too
See that in this link :
https://en.wikipedia.org/wiki/Bitwise_operations_in_C
ar-s
Enthusiast
Posts: 345 Joined: Sat Oct 06, 2007 11:20 pm
Location: France
Post
by ar-s » Sun Mar 08, 2026 11:54 am
A simple usemp3encoder/decoder. Lot's of web radio still using mp3 and mp3 is free since a long time. That could be cool to not need to use Fmodex.
STARGÅTE
Addict
Posts: 2315 Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:
Post
by STARGÅTE » Sun Mar 08, 2026 12:23 pm
threedslider wrote: Sun Mar 08, 2026 12:08 am
Drone wrote: Sat Mar 07, 2026 10:21 pm
No
! = Bitwise XOR
XOR = Logical XOR
Again nope, sorry
! = it is a logical NOT (not to be confused with : ~ = bitwise NOT) (doesn't work with PB)
^ = it is a bitwise XOR (exclusive OR) (doesn't work in PB)
XOR in PB is a logical XOR and only work that and other NOT in PB too
See that in this link :
https://en.wikipedia.org/wiki/Bitwise_operations_in_C
Why you say no?
! is the bit-wise XOR operator in Pure Basic.
The ^ character has no meaning up to now.
https://www.purebasic.com/documentation ... ables.html
threedslider
Enthusiast
Posts: 616 Joined: Sat Feb 12, 2022 7:15 pm
Post
by threedslider » Sun Mar 08, 2026 1:15 pm
Oops ! Sorry I was thinking in C programming not PB
Yeah... ! is a bitwise XOR in PB, you are right it, that confuse me
miso
Enthusiast
Posts: 717 Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary
Post
by miso » Sun Mar 08, 2026 7:39 pm
I wish if project files could be sorted and/or manually reordered in IDE Project Info tab.