Compatibility between PB 4 PC <-> Amiga - is there an Amiga-specific tutorial?

Everything else that doesn't fall into one of the other PB categories.
User avatar
micha-b
User
User
Posts: 18
Joined: Wed Mar 29, 2023 8:51 am
Location: Heidelberg
Contact:

Compatibility between PB 4 PC <-> Amiga - is there an Amiga-specific tutorial?

Post by micha-b »

I'm playing around with compatibility of PB 4 on Amiga and PC, using the PB4 newby's book "A Beginner's Guide" as a reference. There seem to be some differences. What I found up until now:
- NewMap doesn't exist on Amiga
- Mid() on PC, but Mid$() on Amiga
- PrintN needs braces on Amiga, but not on PC

All in all it looks like compatibility between both flavours isn't given. Is there, BTW, a PureBasic for Amiga tutorial available somewhere?

Kind regards,

Micha B.
Fred
Administrator
Administrator
Posts: 18226
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Compatibility between PB 4 PC <-> Amiga - is there an Amiga-specific tutorial?

Post by Fred »

Yes, it's similar but not compatible because Amiga version has been frozen a while ago. You should be able to learn from the examples and the help I guess.
User avatar
micha-b
User
User
Posts: 18
Joined: Wed Mar 29, 2023 8:51 am
Location: Heidelberg
Contact:

Re: Compatibility between PB 4 PC <-> Amiga - is there an Amiga-specific tutorial?

Post by micha-b »

Fred wrote: Fri Jun 30, 2023 8:09 am Yes, it's similar but not compatible because Amiga version has been frozen a while ago. You should be able to learn from the examples and the help I guess.
Yeah, I guess I can manage that.
BTW - "Debug" doesn't put out anything on Amiga (source compiled from command line, since the pb editor allways hangs after compilation). Is this a known bug or just not implemented?

Kind regards,

Micha B.
Fred
Administrator
Administrator
Posts: 18226
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Compatibility between PB 4 PC <-> Amiga - is there an Amiga-specific tutorial?

Post by Fred »

Amiga version is not supported anymore, so if you encounter something weird, you're on your own. All the sources for the libs has been opensourced, so if you want to mess with it, you can, but for the compiler, it's not possible.
User avatar
micha-b
User
User
Posts: 18
Joined: Wed Mar 29, 2023 8:51 am
Location: Heidelberg
Contact:

Re: Compatibility between PB 4 PC <-> Amiga - is there an Amiga-specific tutorial?

Post by micha-b »

Fred wrote: Fri Jun 30, 2023 9:31 am Amiga version is not supported anymore, so if you encounter something weird, you're on your own. All the sources for the libs has been opensourced, so if you want to mess with it, you can, but for the compiler, it's not possible.
But it would be possible for me to take the Amiga PB4 Editor source and try to fix those nasty bugs it has?
Post Reply