Page 1 of 3

PureBasic 4.40 Beta 3 released

Posted: Tue Sep 15, 2009 11:14 pm
by Fred
Hello,

It's the third beta release of the forthcoming 4.40 version, and it's mostly bug fixes. We encourage anyone who can to test its program on it, it will help to have a stable final version. Thanks a lot to all the current beta testers, it's very much appreciated !

For beta news:

http://www.purebasic.fr/english/viewtop ... 524#295524

You can grab it on your online account.

Re: PureBasic 4.40 Beta 3 released

Posted: Tue Sep 15, 2009 11:35 pm
by netmaestro
Lovely! Lots of docs for the new stuff and optional number-of-slots parameter is added for the NewMap command. Thanks for this 8)
PB doc for NewMap wrote: NewMap Cars.Car()
;
Cars("Ferrari F40")\Weight = 1000
Cars()\Speed = 320
Cars()\Price = 500000

Cars("Lamborghini Gallardo")\Weight = 1200
Cars()\Speed = 340
Cars()\Price = 700000
PureBasic must be selling well, somebody's been looking at catalogues... :wink:

Re: PureBasic 4.40 Beta 3 released

Posted: Wed Sep 16, 2009 12:26 am
by akj
Thanks for another ravishing release to relish.
PureBasic must be the most actively, continually developed software in the world!

Re: PureBasic 4.40 Beta 3 released

Posted: Wed Sep 16, 2009 12:27 am
by Fred
Right, the doc is mostly done, and there is the famous slot parameter for NewMap (check the docs). Thanks for the remembering !

Re: PureBasic 4.40 Beta 3 released

Posted: Wed Sep 16, 2009 5:08 am
by JCV
Thanks PB Team! 8)

Re: PureBasic 4.40 Beta 3 released

Posted: Wed Sep 16, 2009 11:07 am
by srod
Awesome - looks great. 8)

Had a minor problem with an editor gadget with the new theming (which looks great by the way). Would I be correct in saying that I need to remove theming from this control before I can remove the border?

Re: PureBasic 4.40 Beta 3 released

Posted: Wed Sep 16, 2009 12:16 pm
by PB
Great work, team! :) My 10510-line app compiled after making one single character change: I had to put a @ in front of a null string ("") to make it work with an API call. That's pretty damn good!

The only thing that bothers me, and I know it's unavoidable due to the changes, but my exe for that app is now 747 KB instead of 703 KB with v4.31, so somewhere a lot of extra code has come in despite no changes to my source. Should it really increase by 44 KB with no changes? I hope it's a bug of some sort and not something permanent? I wouldn't even know where to begin to investigate such an increase.

[Edit] Actually, now that I've looked closer into it, my app's exe will probably actually decrease in size when I replace my custom procedures with the new PureBasic commands (eg. ReverseString). So I will report back later.

Re: PureBasic 4.40 Beta 3 released

Posted: Wed Sep 16, 2009 12:34 pm
by Fred
We updated third part libs as well, so if you use SQLite, RegExp, etc. it could explain that.

Re: PureBasic 4.40 Beta 3 released

Posted: Wed Sep 16, 2009 12:34 pm
by Kaeru Gaman
Thanks, Team, for the good and steady work.

I screwed an Icon for my Desktop, perhaps someone likes to use it, so I share it with the community:
http://www.yhoko.com/main.php?dest=file ... c6b960af5e
it's an 3.2KB ICO, the PB-Logo with a little BETA letter...
... I would show it directly if the bloody filesharing would gimme a link without php..

PB wrote:I wouldn't even know where to begin to investigate such an increase.
- do you use 2DDrawing? libs are completely new.
- are you sure to use the same settings for XP-Skin and other Prefs?

Re: PureBasic 4.40 Beta 3 released

Posted: Wed Sep 16, 2009 12:37 pm
by Fred
Yes, you're right, it's the 2DDrawing lib which adds the overhead.

Re: PureBasic 4.40 Beta 3 released

Posted: Wed Sep 16, 2009 12:55 pm
by flaith
akj wrote:PureBasic must be the most actively, continually developed software in the world!
I agree 200% :D

Re: PureBasic 4.40 Beta 3 released

Posted: Wed Sep 16, 2009 1:25 pm
by PB
Yes, I have lots of 2D drawing involved, so that explains it. No worries. :)

Re: PureBasic 4.40 Beta 3 released

Posted: Wed Sep 16, 2009 1:26 pm
by Thunder93
Thanks Freak, Fred and the entire PB Team! :D

Re: PureBasic 4.40 Beta 3 released

Posted: Wed Sep 16, 2009 3:52 pm
by GeBonet
Many Thanks...

With 4.40... Beta 1,.,3 and i hope quickly the final, It's a very powerful new version we have...
With some test, i dont now how to use the [, Flags] in the exppression "AddMapElement(Map(), Key$ [, Flags])"
If some one now, I thank him :D (Or where i can find that).

Re: PureBasic 4.40 Beta 3 released

Posted: Wed Sep 16, 2009 3:56 pm
by netmaestro
PB Doc for AddMapElement wrote:'Flags' is an optional parameter which can be one of the following value:

#PB_Map_ElementCheck : Checks if an element with a same key already exists, and replaces it (default).
#PB_Map_NoElementCheck: No element check, so if a previous element with the same key was already present, it will be lost and couldn't be accessed anymore. Its memory will be only released if ClearMap() is used.
...but they don't seem to be actually included yet :? I would guess that elementcheck is 0 as it's the default, and noelementcheck 1. I tested it and it seems right, but I wouldn't take my word for anything.