PureBasic 4.20 Beta 2 (Windows)

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

PureBasic 4.20 Beta 2 (Windows)

Post by Fred »

Hi there,

Here is the second public release of the the 4.20 serie, which should solve most of the regressions introduced by the switch to the new VC compiler. Now, even the main compiler is compiled with VC, which should provide some more speed to the compilation progress (hopefully). There is some news tough:

Code: Select all

- Added hex and binary support for Val() and ValQ()
- Added #PB_String_NoCase constants for RemoveString(), ReplaceString() and CompareMemoryString()
- Added #PB_String_Equal, #PB_String_Lower and #PB_String_Greater constants for CompareMemoryString()
- Added #PB_String_InPlace constant for ReplaceString()
- Added #PB_Sort_Ascending, #PB_Sort_Descending and #PB_Sort_NoCase constants for Sort() commands
- Added #PB_Screen_NoSynchronization, #PB_Screen_WaitSynchronization and #PB_Screen_SmartSynchronization constants for FlipBuffers()
- Added #PB_Sprite3D_NoFiltering and #PB_Sprite3D_BilinearFiltering constants for Sprite3DQuality()
Thanks to all the testers, and keep up the good work !

The Fantaisie Software Team
Last edited by Fred on Tue Apr 01, 2008 1:07 pm, edited 1 time in total.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

There are a number of bugs unfixed from beta1.
We are aware of that, so please don't bump all the topics.

It was just time for a new beta. We didn't want to delay this any further.
quidquid Latine dictum sit altum videtur
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

Thanks for beta2.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

Thanks for Purebasic period.

cheers

umm - same problem as netmaestro
Last edited by rsts on Mon Jan 28, 2008 1:07 am, edited 2 times in total.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

Can't get the compiler to start from the IDE, it isn't loaded on starting the IDE and "Restart Compiler" is ineffective. Update tool run targeting a clean install of PB 4.10. Is there a way to get the compiler started?
BERESHEIT
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Post by Dare »

Thanks for the update!
Dare2 cut down to size
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: PureBasic 4.20 Beta 2 (Windows)

Post by PB »

> Added hex and binary support for Val() and ValQ()

Thanks! :D The hex speed is amazing: I did a loop test with my old procedure
and in 999999 loops, my procedure took 3517 ms, but Val() took only 31! :shock:
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Woot! Thank you very much!
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

Does Beta 2 still have the gradients? .-.

I'm blue da ba dee da ba die...
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Can't get the compiler to start from the IDE, it isn't loaded on starting the IDE and "Restart Compiler" is ineffective. Update tool run targeting a clean install of PB 4.10. Is there a way to get the compiler started?
Me neither... It just won't start at all :/. WinXP Sp2 here. I also did a fresh install but it doesn't work.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post by Hroudtwolf »

Thanks for the work on PB.

Best regards

Wolf
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

I have WinXP with SP2 and it all works fine here.

To those of you who tried a clean install: it's important to remember that
the pref files for PureBasic are stored in a separate folder to PureBasic,
meaning that if you install v4.10 to a fresh new folder and then apply the
v4.20 Beta 2 patch to it, it'll still use old prefs files when starting (thanks,
Vista). So try deleting or renaming the pref files first. It could solve your
problem.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
inc.
Enthusiast
Enthusiast
Posts: 406
Joined: Thu May 06, 2004 4:28 pm
Location: Cologne/GER

Post by inc. »

Hi Fred, thanks for the update!
... which should solve most of the regressions introduced by the switch to the new VC compiler.
Do you use Visual Studio? If yes, is it version 8 or already 9 you are using?
Check out OOP support for PB here!
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

To those of you who tried a clean install: it's important to remember that
the pref files for PureBasic are stored in a separate folder to PureBasic,
meaning that if you install v4.10 to a fresh new folder and then apply the
v4.20 Beta 2 patch to it, it'll still use old prefs files when starting (thanks,
Vista). So try deleting or renaming the pref files first. It could solve your
problem.
Tried that... It ain't budging... I'll keep trying...
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

inc. wrote:Hi Fred, thanks for the update!
... which should solve most of the regressions introduced by the switch to the new VC compiler.
Do you use Visual Studio? If yes, is it version 8 or already 9 you are using?
If it is still version 8 I highly encourage you to use MSVC 9. It offers
even more optimizations and produces lighter code than v8.
Anyway thanks for the update...
Windows 7 & PureBasic 4.4
Post Reply