Wishlist for PB 7.0 :)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
threedslider
Enthusiast
Enthusiast
Posts: 578
Joined: Sat Feb 12, 2022 7:15 pm

Re: Wishlist for PB 7.0 :)

Post by threedslider »

@ChrisR : Yeah, I think more at this codingschool (https://codingschool.neoma-bs.fr/), it is possible to suggest them for learning in Purebasic with their service :D
User avatar
ChrisR
Addict
Addict
Posts: 1576
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: Wishlist for PB 7.0 :)

Post by ChrisR »

Yes, that too @threedslider and schools, communication via social networks... students are the future buyers!
I think there's definitely room for PureBasic. With its Basic syntax and high performance, It's ideal for beginners or for improving computer skills. If guys try it and do their 1st project with it, they'll feel nostalgic if they have to switch to C# or others, well, I hope so :wink:
threedslider
Enthusiast
Enthusiast
Posts: 578
Joined: Sat Feb 12, 2022 7:15 pm

Re: Wishlist for PB 7.0 :)

Post by threedslider »

@ChrisR : Yes i am agreed with you, that just need to make something into real world and to make a spread for all to others to use it :)
Little John
Addict
Addict
Posts: 4843
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Wishlist for PB 7.0 :)

Post by Little John »

Please allow single underscores in numeric literals as visual separators for digit grouping in order to boost readability.
As an example, this is valid Python code:

Code: Select all

amount = 10_000_000.0
addr = 0xCAFE_F00D
flags = 0b_0011_1111_0100_1110
davidow
User
User
Posts: 11
Joined: Mon Mar 20, 2023 7:34 am
Location: Uttoxeter, UK

Re: Wishlist for PB 7.0 :)

Post by davidow »

Please consider the following:
skywalk wrote: Tue Jan 20, 2026 5:23 pm Unsigned integers for compatibility with C libs.
Keyword: OUT
User avatar
jacdelad
Addict
Addict
Posts: 2074
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Wishlist for PB 7.0 :)

Post by jacdelad »

davidow wrote: Thu Jan 29, 2026 2:13 pm Please consider the following:
skywalk wrote: Tue Jan 20, 2026 5:23 pm Unsigned integers for compatibility with C libs.
Keyword: OUT
What?
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/2*DX517, 164TB+82TB+28TB+2TB SSD
threedslider
Enthusiast
Enthusiast
Posts: 578
Joined: Sat Feb 12, 2022 7:15 pm

Re: Wishlist for PB 7.0 :)

Post by threedslider »

davidow wrote: Thu Jan 29, 2026 2:13 pm Please consider the following:
skywalk wrote: Tue Jan 20, 2026 5:23 pm Unsigned integers for compatibility with C libs.
Keyword: OUT
Could you explain what do you mean that ?
User avatar
the.weavster
Addict
Addict
Posts: 1583
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: Wishlist for PB 7.0 :)

Post by the.weavster »

Scripting 🤞

Preferably MicroPython or QuickJS-NG
User avatar
Mijikai
Addict
Addict
Posts: 1523
Joined: Sun Sep 11, 2016 2:17 pm

Re: Wishlist for PB 7.0 :)

Post by Mijikai »

idle wrote: Wed Jan 21, 2026 9:51 pm unsigned types
structures byval for params and returns so it's compatible with c, libs like chipmunk, raylib, miniaudio
defaults for structures and fill
+1
exactly this!
Rinzwind
Enthusiast
Enthusiast
Posts: 713
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: Wishlist for PB 7.0 :)

Post by Rinzwind »

Wishful wished wish list

1

Code: Select all

Now is a good time to combine it with """multiline
string
literals"""
f"combined with $StringInterpolation/formatting" (or at least a buildin procedure eq enhanced printf)
2
Windows
Buildin registry support
More flexible/modern ini file support (comments on same line, multi line values)
Json config file support

macos
Buildin plist support

linux
Equivalent (json config file?)

3
WebViewGadget
Windows
Access to more configuration settings (profile use, event processing)

4
Optional LLM
Code agent support in IDE (yes it is not prime time yet and it loves bloated code). ChatGPT writes mostly almost compilable PB code. Not to say it is the best solution to a problem, but it does give a general direction and ideas how to handle things. Frequently it goes and keeps going with a weird and wrong or complex idea for a simple problem though.

5
Setting default values extended for structures

6
Multi monitor DPI awareness for UI (monitors with different number of pixels and dpi settings and disconnect/connect at will)

7
More string utility functions (split, join to list, foreach)

8
JSON should allow comments because it is used in the wild a lot, even if not standard.

9
Array values init (old plain c supports it)

10
Procedure return of Structure (old plain c supports it)

11
Inlined procedures

12
Structures with procedure pointers to group functionality (object light)

13
UI grid/table control/modernization/extended

14
Streamlining AddElement by letting us directly assign value while adding.

15
List map treadsafe read pointer

16
Modules: make it behave like Pascal units (global scope, initialize, finalize)

17
ShortcutGadget winkey support

18
Integer map

19
FindStringReversed

20
ByVal/ByRef procedure arguments

21
Unsigned types matching c

22
Iif statement
Post Reply