Lotto example ot running on my phone

Here you can talk about anything related to BBC BASIC, not covered in another category
JWB
Posts: 10
Joined: Mon 16 Jan 2023, 09:41

Lotto example ot running on my phone

Post by JWB »

HI, when I compile (bbc2apk) C:\...\bbcsdl20\examples\physics\lotto I get no errors and it loads on the phone OK (Samsung S10+).
But it doesn't actually run - just gives a white screen for a few seconds then closes down.
Android then asks me to clean the Cache and run again, but same result.
Does anyone please know why is this?

Thanks
Hated Moron

Re: Lotto example ot running on my phone

Post by Hated Moron »

JWB wrote: Sat 21 Jan 2023, 01:56 HI, when I compile (bbc2apk) C:\...\bbcsdl20\examples\physics\lotto I get no errors and it loads on the phone OK (Samsung S10+).
But it doesn't actually run - just gives a white screen for a few seconds then closes down.
Clearly a bug in BBC2APK, just as I feared and anticipated in this thread, sorry. I said it was a risky change, but that's no excuse.

I will investigate. Meanwhile if you want to get something working you can deselect the Abbreviate names checkbox; that should make it run but of course is only acceptable as a short-term workaround.
Hated Moron

Re: Lotto example ot running on my phone

Post by Hated Moron »

Hated Moron wrote: Sat 21 Jan 2023, 12:48 Clearly a bug in BBC2APK
The bug was a nightmare to find, but fortunately easy to fix. An updated version (1.11) of BBC2APK is now available for download.

Crunching BBC BASIC code reliably, catching every obscure corner case, is extremely difficult. It would be a braver person than me to claim that there are no more bugs of a similar kind to be found.
JWB
Posts: 10
Joined: Mon 16 Jan 2023, 09:41

Re: Lotto example ot running on my phone

Post by JWB »

Thank you so much for fixing this.
I thought I had done something stupid I couldn't see.

Yes, I've heard about the complexities of software - even the professionals at Microsoft
issue a new Release of Windows full well knowing it has bugs and they reply on users to point them out.

Thanks again - I'm so glad I found BBC Basic, quite accidentally. It ticks all the boxes for me.
Every Google search I had done to list all the types of Basic never mentioned it.

Thanks again for a speedy resolution.