|
Forum Index : Microcontroller and PC projects : EXIT DO skips line?
| Author | Message | ||||
| crez Senior Member Joined: 24/10/2012 Location: AustraliaPosts: 152 |
running this under DOS mmbasic 5.0406 the line following the loop command is not executed. If a blank line is added after 'loop' then all is fine. j=0 Do j=j+1 If j=10 Then Exit Do Loop Print "this line is skipped" Print "execution starts here" End |
||||
Chopperp![]() Guru Joined: 03/01/2018 Location: AustraliaPosts: 1106 |
What happens if you put say PAUSE 500 in the loop? ChopperP |
||||
| crez Senior Member Joined: 24/10/2012 Location: AustraliaPosts: 152 |
no change, just slower. |
||||
| disco4now Guru Joined: 18/12/2014 Location: AustraliaPosts: 1044 |
Known issue fixed in 5.04.08 according to the change log. F4 H7FotSF4xGT |
||||
Grogster![]() Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9750 |
Yes, I remember seeing this one at the time, and disco is right - it's been fixed, so please update your MMBASIC for DOS you are using. Smoke makes things work. When the smoke gets out, it stops! |
||||
| crez Senior Member Joined: 24/10/2012 Location: AustraliaPosts: 152 |
Thanks, After I posted It occurred to me this might be the case. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |