From 637d47fcf926ebcb215efa72838294f9097a52b2 Mon Sep 17 00:00:00 2001 From: James McClanahan Date: Sun, 2 May 2021 10:30:34 -0400 Subject: [PATCH] Add error message pointers --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index e841574..2f05afe 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,34 @@ If we delete line 35 (the print statement) and run it again, we can see that the So there the value -32,768 was not excluded on a whim. The limit of -32,767 is the result of how the unary negation operator interacts with the magnitude of the number in certain situations. +## Error Messages + +| Pointer | Message | +|:-----:|:--------: +| 00 | ">32767" | +| 06 | "TOO LONG" | +| 0E | "SYNTAX" | +| 14 | "MEM FULL" | +| 1C | "TOO MANY PARENS" | +| 2B | "STRING" | +| 31 | "NO END" | +| 37 | "BAD BRANCH" | +| 41 | ">8 GOSUBS" | +| 4A | "BAD RETURN" | +| 54 | ">8 FORS" | +| 5B | "BAD NEXT" | +| 63 | "STOPPED AT " | +| 6E | "*** " | +| 72 | " ERR.\n" | +| 77 | ">255" | +| 7B | "RANGE" | +| 80 | "DIM" | +| 83 | "STR OVFL" | +| 8B | "\\\n" | +| 8D | "RETYPE LINE\n" | +| 99 | "?" | + + ## Credits and Recognition First and most obvious, thanks to Steve 'Woz' Wozniak for creating Apple 1 Integer BASIC in the first place.