Differences between BB4W and BBC-SDL

Discussions about the BBC BASIC language, with particular reference to BB4W and BBCSDL
DDRM

Differences between BB4W and BBC-SDL

Post by DDRM »

Someone posted a request for a list of differences between these two strands of BBC Basic, but I couldn't remember where I'd seen it. Now I know it's at
https://www.bbcbasic.co.uk/bbcsdl/differences.html
...which isn't too far away!

I've given it it's own topic, because I think it will be more generally useful and easier to find. If people have other contributions in terms of documentation/help on using any of the different features or acheiving compatibility, please feel free to post them in this thread!

Best wishes,

D
Leo
Posts: 16
Joined: Tue 03 Apr 2018, 16:45

Re: Differences between BB4W and BBC-SDL

Post by Leo »

After a bit of an absence (more than a year), I've been looking at BBC-SDL and I have a simple query.

I noted in the 'differences' document that there's a new indirection operator ']' but I can't find where its function is specified.
(That doesn't mean it isn't specified, just that I can't find it. :-)

Can anyone enlighten me about what ']' does?
Leo
Posts: 16
Joined: Tue 03 Apr 2018, 16:45

Re: Differences between BB4W and BBC-SDL

Post by Leo »

Of course it's a 64-bit pointer. Duh.
RichardRussell

Re: Differences between BB4W and BBC-SDL

Post by RichardRussell »

Leo wrote: Wed 23 Oct 2019, 20:33 Of course it's a 64-bit pointer. Duh.
Can I just note that it's only available in the 64-bit editions. That's not to say it wouldn't also be valuable in the 32-bit editions, it might be occasionally (not for addresses/pointers but for other 64-bit integers), but that would mean adding it to BB4W and I worry about making any major changes to that product after such a long period of stability.
Leo
Posts: 16
Joined: Tue 03 Apr 2018, 16:45

Re: Differences between BB4W and BBC-SDL

Post by Leo »

Thanks for your response Richard. Yes, I don't have a use for a 64-bit pointer in the Windows versions of BBC Basic - it was just an "itch" I had to scratch. :-)

Nice to have you here again.
RichardRussell

Re: Differences between BB4W and BBC-SDL

Post by RichardRussell »

Leo wrote: Thu 24 Oct 2019, 15:16Nice to have you here again.
It's not nice for me. Being moderated is a lot like having been released from prison on licence, but with no time limit! :cry: