|
Forum Index : Microcontroller and PC projects : CMM2 - question regarding ON ERROR SKIP
| Author | Message | ||||
| Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3308 |
What has changed Peter? ie, what did you fix? Geoff Graham - http://geoffg.net |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10590 |
The CMM2 has an optimisation to not execute the setjmp command for errors if ON ERROR is not set. setjmp actually takes quite a lot of processing. OptionErrorSkip was only decremented if it was already non-zero. But this didn't take into account the ON ERROR command itself which sets OptionErrorSkip to one greater than the value requested as the ON ERROR command itself is included in the countdown. I've now changed ON ERROR to set the exact count rather than one greater. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |