Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 03:46 25 Nov 2024 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 : (MM) CONTINUE not working

Author Message
pcaffalldavis

Senior Member

Joined: 17/10/2011
Location: United States
Posts: 187
Posted: 01:22am 27 Dec 2011
Copy link to clipboard 
Print this post

I’m using MM BASIC in version 2.7B and the CONTINUE command does not seem to work for me. Sure would be nice if it did. When I get an error code, or set up a stop in the processing I often need to turn TRON on and continue from that point. I often need to check variables at such a point and go on from there but can’t since CONTINUE does not seem to work.

Does anyone have any suggestions or know why it is not working?

Pete in Hyder


We're all here 'cause we're not all there.
 
MM_Wombat
Senior Member

Joined: 12/12/2011
Location: Australia
Posts: 139
Posted: 10:31am 28 Dec 2011
Copy link to clipboard 
Print this post

I found that the

OPTION error CONTINUE

only works for SD card errors. It did not catch the "out of memory" errors my program generates.

I do have it catching the sd card errors though.


2075 LOCATE 270,20 : INPUT "Filename to Save : ",savename$
2080 IF (RIGHT$(savename$,3)<>"fnt") THEN savename$=savename$+".fnt"
2090 OPEN savename$ FOR output AS #1
2100 typefile$="save"
2110 ON MM.ERRNO GOTO 3350,3410,3470,3530,3590,3650


3350 'ERROR -No SD Card present
3410 'Card is Write Protected
3470 'not enough space
3530 'All root dir. taken
3590 'Invalid Filename
3650 'Cannot find File

at the end of all these errors i check for save or load, then jump to a line in that routine 2075(save) or xxxx(load)
Keep plugging away, it is fun learning
But can be expensive (if you keep blowing things up).

Maximite, ColourMaximite, MM+
 
Print this page


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

© JAQ Software 2024