PureBasic 6.40 alpha 4 is ready, surprise inside !

Developed or developing a new product in PureBasic? Tell the world about it.
threedslider
Enthusiast
Enthusiast
Posts: 596
Joined: Sat Feb 12, 2022 7:15 pm

Re: PureBasic 6.40 alpha 4 is ready, surprise inside !

Post by threedslider »

Fred and Team are awesome as always !

Thanks for sharing
PrincieD
Addict
Addict
Posts: 908
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: PureBasic 6.40 alpha 4 is ready, surprise inside !

Post by PrincieD »

Excellent work Fred and team!

Quick and dirty optimisation for string comparison - check if the prefixed length int are equal first? - you're probably already doing this but just thought i'd mention it.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
User avatar
skywalk
Addict
Addict
Posts: 4306
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 6.40 alpha 4 is ready, surprise inside !

Post by skywalk »

Yup, tried alpha4 and same crash for Ucase(mystruct\myfilepath$).
I don't have time yet to dig into this, but if I comment out a resetstructure(mystruct, mystruct_info) I get a little further until another structured string access error involving mystruct\mystr$ + Space(10).
My fear is this breaks a LOT of my structured string use. :(
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Fred
Administrator
Administrator
Posts: 18513
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.40 alpha 4 is ready, surprise inside !

Post by Fred »

Which compiler do you use ? Does it crash with a small snippet ?
User avatar
skywalk
Addict
Addict
Posts: 4306
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 6.40 alpha 4 is ready, surprise inside !

Post by skywalk »

Yes, I always use the C backend.
I tried snippet but not extensive enough to match error. Ran out of time. Like I mentioned, I comment out reset structure and it got me past 1 error but onto another structured string error.
The common issue is working with structured strings: ucase(), space(), etc.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Post Reply