Skip to content

3 Troubleshooting

d1ddle edited this page Jun 13, 2021 · 4 revisions

(Write) Program hangs and doesn't print FILE WRITING COMPLETE

Caused by

  • Disk read only

Fix

  • Make sure File>Disk Options>Write Protect 0/1 is UNCHECKED

(Write) Program gets stuck in a loop printing FILE WRITING COMPLETE, ENDED AT VALUE FILE WRITING...

Caused by

  • D$ value can't be determined so restarts line 130

Fix

  • Remove D$ at line 130, or use release 1.1.0+

(Write) Program hasn't written all DATA to file and/or crashes

Caused by

  • A number of errors can cause an abrubt termination of the program due to how the program reaches the end of DATA.

Fix

  • To find out which error causes this, LIST the program and find the line with ON ERROR GOTO somewhere (as of 1.1.0). This is the error handler. Replace the line but add a REM statement before the start of the line (and after the line number of course). In this case, <line number> REM ON ERROR GOTO <line number>. REM comments out the line and when the program is re-ran, displays the error. If the error is OUT OF DATA AT LINE <line number> then the program is working as it should; Check your DATA lines are not replacing each other (have different line numbers).