PureBasic 5.50 final is out !

Developed or developing a new product in PureBasic? Tell the world about it.
Little John
Addict
Addict
Posts: 4527
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: PureBasic 5.50 beta 1 is out

Post by Little John »

Very useful new commands and functions, thanks a lot!
DontTalkToMe
Enthusiast
Enthusiast
Posts: 334
Joined: Mon Feb 04, 2013 5:28 pm

Re: PureBasic 5.50 beta 1 is out

Post by DontTalkToMe »

Code: Select all

RegisterFontFile(FileName$)
Probably a RegisterFontFromMemory() or CatchFont() could be a nice complement, since most of it now it's already here.
User avatar
Comtois
Addict
Addict
Posts: 1429
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Re: PureBasic 5.50 beta 1 is out

Post by Comtois »

Forgotten in changes list
Added: #PB_Entity_PlaneBody, #PB_Entity_ConeBody and #PB_Entity_CompoundBody body type
Added; AddSubEntity() ; see CompoundBody.pb example
Please correct my english
http://purebasic.developpez.com/
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: PureBasic 5.50 beta 1 is out

Post by davido »

Thank you.
DE AA EB
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: PureBasic 5.50 beta 1 is out

Post by User_Russian »

How does the function ResetStructure? This is similar to

Code: Select all

Macro ResetStructure(Pointer, Struct)
  ClearStructure(Pointer, Struct)
  InitializeStructure(Pointer, Struct)
EndMacro
Or function smarter work, free memory but not allocating if that is not necessary?
User avatar
kenmo
Addict
Addict
Posts: 1967
Joined: Tue Dec 23, 2003 3:54 am

Re: PureBasic 5.50 beta 1 is out

Post by kenmo »

Thank you --- will begin testing soon...
box_80
Enthusiast
Enthusiast
Posts: 113
Joined: Mon Sep 03, 2012 8:52 pm

Re: PureBasic 5.50 beta 1 is out

Post by box_80 »

Thanks for the new beta. Did not expect it and found it to be a good surprise. :D
Fred
Administrator
Administrator
Posts: 16687
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.50 beta 1 is out

Post by Fred »

User_Russian wrote:How does the function ResetStructure? This is similar to

Code: Select all

Macro ResetStructure(Pointer, Struct)
  ClearStructure(Pointer, Struct)
  InitializeStructure(Pointer, Struct)
EndMacro
Or function smarter work, free memory but not allocating if that is not necessary?
It does exactly that.
User avatar
gurj
Enthusiast
Enthusiast
Posts: 664
Joined: Thu Jan 22, 2009 3:48 am
Location: china
Contact:

Re: PureBasic 5.50 beta 1 is out

Post by gurj »

thanks!
my pb for chinese:
http://ataorj.ys168.com
User avatar
Lord
Addict
Addict
Posts: 849
Joined: Tue May 26, 2009 2:11 pm

Re: PureBasic 5.50 beta 1 is out

Post by Lord »

Fred wrote:...
- Removed: ASCII mode for internal PureBasic string representation, PureBasic is now unicode only.
...
PureBasic: Rest in peace. You are not BASIC anymore.
Maybe you should be renamed to PureSomething or so...

PB programs are getting bigger and bigger, but they are
only inflated by zeros. Maybe you think bigger is better?
Image
#NULL
Addict
Addict
Posts: 1440
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: PureBasic 5.50 beta 1 is out

Post by #NULL »

i doubt that would be due to ascii/unicode. at least i can't see a big difference in size compiled with or without unicode.
maybe you have your code full of hardcoded strings?
User avatar
majikeyric
Enthusiast
Enthusiast
Posts: 181
Joined: Mon Oct 21, 2013 5:21 pm
Location: France
Contact:

Re: PureBasic 5.50 beta 1 is out

Post by majikeyric »

Thanks guys!!!! :D
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: PureBasic 5.50 beta 1 is out

Post by Mistrel »

I know why you chose to do it but I always felt that ASCII support was a great convenience and an important feature.

I still think it's a mistake. :(
User avatar
Keya
Addict
Addict
Posts: 1891
Joined: Thu Jun 04, 2015 7:10 am

Re: PureBasic 5.50 beta 1 is out

Post by Keya »

yes i thought adding support for more datatypes was the way to go !? (life is still extremely dicey and difficult without unsigned dword!), not dropping support for existing datatypes, especially one as common as Ascii strings (they don't get much more common than that!) simply because it's "too hard" for PB to maintain. Now the "too hard" part becomes the programmers problem, so I have to disagree with this approach! just my 2c, but thankyou very much for the new features. Hopefully I can figure out how to use Tailbite so I can make .libs with PB 5.50 that I can import back into 5.42, but yes I (like many or at least several it seems) certainly won't be able to drop support for 5.42 (just as i cant drop support for Quad datatype), it will remain a constant alongside the new 5.50... (now the programmer will have to maintain two builds). Thankyou for listening to my concerns and sorry if it sounds like im whinging because i'm not, i'm just nervous about having to make a forced and unwanted change to my development style. Maybe a newer version could add support for ".s" and ".su" strings? (Why can't we have both in 2016? Why cant we have unsigned dword?) anyway I promise I'll shut up now, thankyou for hearing my 2c, i get back to work now :)
User avatar
Thunder93
Addict
Addict
Posts: 1788
Joined: Tue Mar 21, 2006 12:31 am
Location: Canada

Re: PureBasic 5.50 beta 1 is out

Post by Thunder93 »

The decision to remove Ascii compilation was not made lightly by the PB-Team. The reasons why were giving, and all makes perfect sense. The heads-up was giving way back in 2014, so I don't get how this change makes it “programmers problem.” That's just my 2c :wink:


Quick re-cap for newcomers;

Advantages
“- Faster building time, less code in our source tree, makefiles much shorter
- Less bugs because of code reduction
- No more Unicode switch, so it's easier when sharing code source on the forum, or when developing an user lib (everybody is Unicode)
- Makes PB definitely more modern.”

Fred: “before freaking out, we are just talking about removing the "Unicode switch", not all ASCII related operations !”

Fred: “We plan to provide 2 new functions, to ease things a bit:”
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley
Post Reply