← Intermediate Apple

Intermediate Apple

From the originals

13 scans

Machine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.

These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.

PDF page 12

8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 ?OUT OF MEMORY ERROR IN 210 Program 2: 100 FOR I= 1 TO 200 110 GOSUB 200 120 NEXT I 130: 200 PRINT I 210 IF I< 100THEN 120 220 RETURN RUN 1 ?NEXT WITHOUT FOR ERROR IN 120 Why are these programs generating nonsense error messages? After all, little Program 1 couldn't possibly consume all of the Apple's memory and line 100 of Program 2 contains a F 0 R state- ment as plain as the nose on your face. So why the errors? 12

Reading notes: Reading order of listed line numbers and program fragments is uncertain. Fragment 'F 0 R' in line 100 appears to be a spacing artifact of 'FOR'. Text is a fragment of BASIC program listings and error messages; no full layout is recoverable.

Languages
English