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.
Chopperp Guru Joined: 03/01/2018 Location: AustraliaPosts: 1096
Posted: 12:13am 20 Sep 2024
Copy link to clipboard
Print this post
After many years of trying to understand the ON ERROR SKIP(nn) command, I finally worked it out. (I think)
I was doing some tests with this command & wasn't working as I thought it should. I re-read the following for the umpteenth time & I finally saw what I was missing...
I missed out on seeing
I was thinking that it missed the specified number of commands , not the error generated by them. The commands are still executed.
The example below now makes sense
All statements are executed but the errors on the first 3 are ignored.
Now, I have to go though a number of my programs to-re appraise my use of this command.