@Fred: Should I wait for the first beta of PB 4.0 ... ?
@Fred: Should I wait for the first beta of PB 4.0 ... ?
@Fred,
Should I waiting to the first beta of PB4.0 before I work again on my actuall PB projects?
Hint:
You said on the interview for question 31:
31. Will there happen more syntax changes, a new linker or similar, which are inevitable for new versions or for better compatibility to the general BASIC standard, however existing codes aren't further usable (without manual changes)? E.g. like as you have made it with AllocateMemory() with the rearrangement of ID numbers to Handles, or like the introducing of the PellesC linker.
Yes. The v4 will not be compatible with the previous sources codes. That means than you will have to continue to use v3.9x for big programs maintenance (it will still be available on download). This has been unavoidable to make all thread safe and more consistent. The commands itself won't dramatically changes, but the programs will have to be adapted.
Should I waiting to the first beta of PB4.0 before I work again on my actuall PB projects?
Hint:
You said on the interview for question 31:
31. Will there happen more syntax changes, a new linker or similar, which are inevitable for new versions or for better compatibility to the general BASIC standard, however existing codes aren't further usable (without manual changes)? E.g. like as you have made it with AllocateMemory() with the rearrangement of ID numbers to Handles, or like the introducing of the PellesC linker.
Yes. The v4 will not be compatible with the previous sources codes. That means than you will have to continue to use v3.9x for big programs maintenance (it will still be available on download). This has been unavoidable to make all thread safe and more consistent. The commands itself won't dramatically changes, but the programs will have to be adapted.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
in fact, if you look at the changes in the past, you will notice that most changes had only minimal impact and could be solved with a little work
none of my programs (albeit few
) suffered any major problems from the syntax changes in pb
none of my programs (albeit few

( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
Dropping IDs and returning meaningful handles/values would force a lot of changes to existing code
.. but ..
As you could run 3.9x for the old stuff (and may need to anyway) it would be worth it, I reckon. (Long term). For eg: addr = AllocateMemory( size ) is a cleaner approach than before.
.. but ..
As you could run 3.9x for the old stuff (and may need to anyway) it would be worth it, I reckon. (Long term). For eg: addr = AllocateMemory( size ) is a cleaner approach than before.
@}--`--,-- A rose by any other name ..
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Can't wait 
Any idea how long till a beta?

Any idea how long till a beta?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
-
- New User
- Posts: 9
- Joined: Tue Jan 13, 2004 7:00 am
> I can't stand typing ProcedureReturn
Why not use AutoComplete? Type "Pro" and hit TAB, then 3 cursor downs.
> Why not just "return"?
Because that's another keyword used in conjunction with "Gosub".
Why not use AutoComplete? Type "Pro" and hit TAB, then 3 cursor downs.
> Why not just "return"?
Because that's another keyword used in conjunction with "Gosub".
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
-
- New User
- Posts: 9
- Joined: Tue Jan 13, 2004 7:00 am
I didn't know I could do that. But now that you mention it, it sounds okay.Why not use AutoComplete? Type "Pro" and hit TAB, then 3 cursor downs.
Is PureBasic for programmers in 2005 or 1985? I think we can safely get rid of GOSUB and re-use the RETURN keyword for a new purpose. Or is a large part of PureBasic's audience people dusting off their 5.25" floppy disks with GWBASIC programs on them?Because that's another keyword used in conjunction with "Gosub".
Definitely not, my disks are 8" !johndehope3 wrote:Or is a large part of PureBasic's audience people dusting off their 5.25" floppy disks with GWBASIC programs on them?
If you really think it's too much to type "ProcedureReturn"
you may want to wait for macros that come with v4.0 ...
This thread was about worries concerning backwards compatibility btw.

Good programmers don't comment their code. It was hard to write, should be hard to read.
It makes me laugh when new users turn up here and start telling Fred and the community to start to implement big changes in a perfectly usable language, because of some crazy half-baked idea they've had. :roll:johndehope3 wrote:I didn't know I could do that. But now that you mention it, it sounds okay.Why not use AutoComplete? Type "Pro" and hit TAB, then 3 cursor downs.
Is PureBasic for programmers in 2005 or 1985? I think we can safely get rid of GOSUB and re-use the RETURN keyword for a new purpose. Or is a large part of PureBasic's audience people dusting off their 5.25" floppy disks with GWBASIC programs on them?Because that's another keyword used in conjunction with "Gosub".
It reminds me of that guy who said ditch the Gadgets and call them Controls!!! err........ NO! :roll:
- Fangbeast
- PureBasic Protozoa
- Posts: 4789
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
I'm with you on that one Kale.
I remember some twit who was whining that he sounded like he'd enrolled in kindergarden with the syntax he encountered. There are lots of whiners who want Fred to change things to suit themselves and never, ever think that there are others in the world with them. Oh, and they never contribute anything either.Kale wrote:It makes me laugh when new users turn up here and start telling Fred and the community to start to implement big changes in a perfectly usable language, because of some crazy half-baked idea they've had. :roll:johndehope3 wrote:I didn't know I could do that. But now that you mention it, it sounds okay.Why not use AutoComplete? Type "Pro" and hit TAB, then 3 cursor downs.
Is PureBasic for programmers in 2005 or 1985? I think we can safely get rid of GOSUB and re-use the RETURN keyword for a new purpose. Or is a large part of PureBasic's audience people dusting off their 5.25" floppy disks with GWBASIC programs on them?Because that's another keyword used in conjunction with "Gosub".
It reminds me of that guy who said ditch the Gadgets and call them Controls!!! err........ NO! :roll:
And there are some fantastic coders who seem to be quite happy with PB, get on with the job and contribute till the rest of us feel embarrassed that we can't do the same. I'm crappy coder and am prdoud of the community here. Will give what I can too without too much whining (lol).
Ad Fred, DON"T CHANGE A THING, it's great!!!!!
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet