PureBasic 6.00 released !
Re: PureBasic 6.00 Beta 10 released !
This is why I prefer structured variables to hold parameter values.
The underlying structure can grow without serious code impacts.
The underlying structure can grow without serious code impacts.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: PureBasic 6.00 Beta 10 released !
Using a structure looks good at first glance, but can produce more work for the compiler: Like in the Windows APIs, when new parameters are introduced the structure grows. The API needs to know whether these parameters are set or not (because they maybe can be zero or empty), so I have to pass the size of the structure (which ultimately defines its version). So the future PureBasic compilers would have to "know" all versions of the structure and the programmer still had to define which version to use.
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
Re: PureBasic 6.00 Beta 10 released !
Yes, but structures prevent function creep.
Imagine dozens of functions to pass a single parameter or worse, dozens of parameters within a function call.
Yes, the sizeof(mystruct) might change, but it is easy peasy.
Imagine dozens of functions to pass a single parameter or worse, dozens of parameters within a function call.
Yes, the sizeof(mystruct) might change, but it is easy peasy.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: PureBasic 6.00 released !
The final version is available on your accounts ! It's been a long journey, more than a year and half to create the update, but the support of new processors (and new OS), a brand new compiler backend, the upgrade of some core libraries, many bug fixes and new features included will make it worthwhile ! Thanks a lot for your patience, and looking forward for future versions !
If some of you can tests the demo packages on your computers/OS to see if all works as expected, I would be very grateful
https://www.purebasic.com/french/download.php
If some of you can tests the demo packages on your computers/OS to see if all works as expected, I would be very grateful
https://www.purebasic.com/french/download.php
Re: PureBasic 6.00 released !
Thanks. Fred!
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: PureBasic 6.00 released !
Is it christmas time?
Thanks Fred!
Thanks Fred!
- marcoagpinto
- Addict
- Posts: 947
- Joined: Sun Mar 10, 2013 3:01 pm
- Location: Portugal
- Contact:
Re: PureBasic 6.00 released !
Thanks, Freddy!!!!
- marcoagpinto
- Addict
- Posts: 947
- Joined: Sun Mar 10, 2013 3:01 pm
- Location: Portugal
- Contact:
Re: PureBasic 6.00 released !
Silly question:
Thanks!
Has it been deprecated? Beta 10 said it reverted changes from beta 9.- Changed: InitNetwork() is no more needed to use network functions (deprecated)
Thanks!
- Psychophanta
- Addict
- Posts: 4997
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Lípetsk, Russian Federation
- Contact:
Re: PureBasic 6.00 released !
Many thanks
http://www.zeitgeistmovie.com
While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB
While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB
Re: PureBasic 6.00 released !
Thanks Fed and all contributor
Re: PureBasic 6.00 released !
Thanks Fred, but what is now with HttpTimeout()?
Was it removed? At the first post of this thread the newest entry lists it as "added", but trying to enter it on MacOS x64 gives an error.
Was it removed? At the first post of this thread the newest entry lists it as "added", but trying to enter it on MacOS x64 gives an error.
Re: PureBasic 6.00 released !
Only for the HttpTimeout(). InitNetwork() is now deprecated.marcoagpinto wrote: ↑Fri Jun 24, 2022 4:31 pm Silly question:Has it been deprecated? Beta 10 said it reverted changes from beta 9.- Changed: InitNetwork() is no more needed to use network functions (deprecated)
Thanks!
Re: PureBasic 6.00 released !
win10x64, PB6x64Demo C back
Linker Error
unresolved external symbol '_f_heapdestroy_'
...
asm ok
===========
win10x64, PB6x86Demo C back
Linker Error
unresolved external symbol '_f_heapdestroy_'
...
asm ok
===========
Linker Error
unresolved external symbol '_f_heapdestroy_'
...
asm ok
===========
win10x64, PB6x86Demo C back
Linker Error
unresolved external symbol '_f_heapdestroy_'
...
asm ok
===========
Last edited by useful on Sat Jun 25, 2022 2:10 pm, edited 1 time in total.
Dawn will come inevitably.
Re: PureBasic 6.00 released !
Thanks for your hard work! I'm only a beginner, but looks to be working fine on Linux Mint 20.3.
Spec: Linux Mint 20.3 Cinnamon, i7-3770K, 16GB RAM, RTX 2070 Super