PureBasic 6.10 LTS is out !
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Wow, thank you! Merry Christmas.
-
- Enthusiast
- Posts: 112
- Joined: Wed May 13, 2009 8:38 am
- Location: Arizona, USA
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Thank You Fred and team for a wonderful Christmas surprise. Merry Christmas to all! 

Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
The doc will be available later when the new commandset is frozen.STARGÅTE wrote: Fri Dec 22, 2023 7:49 pm Many thanks Fred. I'm very happy about the new functions. CustomSortList().
However, did I something wrong or are there no documentations for the new function in the beta version?
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Ok. But then it is difficult to test the new beta.Fred wrote: Fri Dec 22, 2023 8:30 pmThe doc will be available later when the new commandset is frozen.STARGÅTE wrote: Fri Dec 22, 2023 7:49 pm Many thanks Fred. I'm very happy about the new functions. CustomSortList().
However, did I something wrong or are there no documentations for the new function in the beta version?
What should be the return value for the compare procedure in CustomSortList()? Only True/False or -1/0/1 ?
For what is the Flag in CompareStructure/CompareArray/... ?
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and more ― Typeface - Sprite-based font include/module
Lizard - Script language for symbolic calculations and more ― Typeface - Sprite-based font include/module
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
I've been waiting 10 years for this! This really is a great Christmas surprise. Many thanks Fred! Merry Christmas!Fred wrote: Fri Dec 22, 2023 6:14 pm Added: #PB_EventType_ColumnClick for ListIconGadget()
Added: ListIconGaget() column alignment support





Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Excellent!
most of the new functionality is what I was struggling with for the last 6 months and writing (it seems) unnecessary native code.
Thank you Fred!
most of the new functionality is what I was struggling with for the last 6 months and writing (it seems) unnecessary native code.
Thank you Fred!
S.T.V.B.E.E.V.
-
- Addict
- Posts: 1518
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Thank you very much. You added a lot of useful function.

It’s strange, but it says that the gadget is uninitialized. Win 10 x64. PB x64.

Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
So now that XP dropped whats the minimum version OFFICIALLY required ? Win7/8/10 ?
Christos
-
- Addict
- Posts: 1518
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
plouf wrote: Fri Dec 22, 2023 9:42 pm So now that XP dropped whats the minimum version OFFICIALLY required ? Win7/8/10 ?
Fred wrote: Fri Dec 22, 2023 6:14 pmCode: Select all
Removed: Windows XP support. Minimum supported version is now Windows Vista.
- the.weavster
- Addict
- Posts: 1576
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Ah... I wonder if that's why I'm getting an Invalid Memory Access error on line 47, because it's an attempt to bind an event to an uninitialized gadgetUser_Russian wrote: Fri Dec 22, 2023 9:41 pm It’s strange, but it says that the gadget is uninitialized. Win 10 x64. PB x64.

-
- Addict
- Posts: 4777
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Many thanks, Fred and Freak
And Merry Christmas to all
(note that PB 6.10 has 3 new #PB_Sort_* constants):


Absolutely.STARGÅTE wrote: Ok. But then it is difficult to test the new beta.
I played a little bit, and the following seems to workSTARGÅTE wrote: What should be the return value for the compare procedure in CustomSortList()? Only True/False or -1/0/1 ?

Code: Select all
; PB 6.10 beta 1
EnableExplicit
Macro NewElement (_list_, _element_)
AddElement(_list_) : _list_ = _element_
EndMacro
Macro ShowList (_list_)
ForEach _list_
Debug _list_
Next
EndMacro
Procedure.i Compare (*x1.String, *x2.String)
If *x1\s < *x2\s
ProcedureReturn #PB_Sort_Lesser
ElseIf *x1\s > *x2\s
ProcedureReturn #PB_Sort_Greater
Else
ProcedureReturn #PB_Sort_Equal
EndIf
EndProcedure
NewList a$()
NewElement(a$(), "ghi")
NewElement(a$(), "xyz")
NewElement(a$(), "ghi")
NewElement(a$(), "abc")
ShowList(a$())
Debug "------"
CustomSortList(a$(), @Compare(), #PB_Sort_Ascending)
ShowList(a$())
Debug "------"
CustomSortList(a$(), @Compare(), #PB_Sort_Descending)
ShowList(a$())
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
intresting, since as i understand webviewgadget is edge's WebView2 , which requires windows 7 afaik and thats an older versionUser_Russian wrote: Fri Dec 22, 2023 9:46 pmplouf wrote: Fri Dec 22, 2023 9:42 pm So now that XP dropped whats the minimum version OFFICIALLY required ? Win7/8/10 ?Fred wrote: Fri Dec 22, 2023 6:14 pmCode: Select all
Removed: Windows XP support. Minimum supported version is now Windows Vista.
Christos
-
- Addict
- Posts: 1518
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
What does this mean? Unclear.
How to use it?
ini file (ascii encoding).
Code: Select all
Ключ = значение
Key = value
Code: Select all
Debug OpenPreferences("Test.txt", 0, #PB_Ascii)
Debug ReadPreferenceString("Ключ", "")
Debug ReadPreferenceString("Key", "")
Code: Select all
280
value
Code: Select all
280
значение
value
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
ColorRequester, InputRequester, FontRequester, OpenFileRequester, PathRequester (Did I miss any?) now have a ParentID parameter so you can set which window you want to be the requester's parent.