Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 03:57 09 Jun 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Found a bug in MMBASIC Editor

Author Message
cosmic frog
Senior Member

Joined: 09/02/2012
Location: United Kingdom
Posts: 300
Posted: 02:12pm 13 May 2012
Copy link to clipboard 
Print this post

I may have found a bug in the MMBASIC 3.2 editor.
If I go into the editor and try to READ an empty DATA statment it crashes the Maximite (or in my case the UBW32)

READ A
DATA

Will cause it to crash with the message - "An internal error was trapped and your program has been lost (sorry). Were you using the PEEK or POKE commands?".
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3279
Posted: 01:13am 14 May 2012
Copy link to clipboard 
Print this post

Thanks, yes that is most definitely a bug.

I try very hard to make sure that nothing could crash the interpreter because that results in the user's program being lost - so this will be top of the list to be fixed in the new version.

Geoff
Geoff Graham - http://geoffg.net
 
djuqa

Guru

Joined: 23/11/2011
Location: Australia
Posts: 447
Posted: 04:39am 14 May 2012
Copy link to clipboard 
Print this post

Could a "on error goto" statement be implemented?.

VK4MU MicroController Units

 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 11:50am 14 May 2012
Copy link to clipboard 
Print this post

and a "resume next" please.

When the MM has to work unattended maybe a restart when it crashes, or unrecoverable error, like a 'reboot'.

A flashable 'reboot on failure' to make it configurable?



Microblocks. Build with logic.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025