Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 01:44 29 Mar 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 : For Jim ref Crunch & ON ERROR SKIP [nn]

Author Message
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1028
Posted: 12:03am 22 May 2023
Copy link to clipboard 
Print this post

Hi Jim

Question regarding  "Crunch" in MM Edit & Command "ON ERROR SKIP [nn]"

I assume it is the responsibility of the programmer to ensure that there are no commented lines within the range of the SKIP[nn] number if using Crunch?

May need a warning somewhere if there isn't already one.

Still on V5.0.5

Thanks for MM Edit.

Brian
ChopperP
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5867
Posted: 12:33am 22 May 2023
Copy link to clipboard 
Print this post

What device are you programming for?
As far as I can remember, SKIP skips over commands, not lines and comments inserted in the skip zone make no difference.

I rarely use SKIP for anything other than one command at a time so haven't had much experience with it doing the unexpected.

I think there was an issue with user defined SUBs and what to skip over but I don't remember which platform it involved.

Jim
VK7JH
MMedit   MMBasic Help
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1028
Posted: 12:40am 22 May 2023
Copy link to clipboard 
Print this post

Hi Jim

OK, misread the instructions. Sorry

Using it when opening files on an F4 as it sometimes cracks a hissy-fit. Need to skip to after the Close # command if it plays up.

Will count commands rather than lines.

Thanks

Brian
ChopperP
 
Print this page


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

© JAQ Software 2024