11.07.2015 Views

Here - 1000 BiT

Here - 1000 BiT

Here - 1000 BiT

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Do this: Change line 90 back to line 30. (Leave line 91 alone.)30 DATA SUNDAY, MONDAY, TUESDAY91 DATA WEDNESDAY.THURDSAY.FRIDAY.SATURDAYRun the program. It works just the same.FALLING OFF THE END OF THE DATA PLANKSWhen the pointer reaches the last item in the last DATA statement in the program, thereare no more items left to read. If you try to READ again, you will see an error message:OUT OF DATA ERROR IN XXErase line 91and run again.BACK TO SQUARE ONEAt any point in the program, you have only two choices for the READ pointer.1. You can do another READ: then the pointer moves ahead one item.2. You can command RESTORE: then the READ pointer is put back to the beginning ofthe first DATA statement in the program.106

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!