ERROR MESSAGES Standard Error Message ? (question mark) is the standard error message in Max-FORTH. An error exists when Max-FORTH responds with a ? prefixed with one of the following: - the most recently entered word which is not part of the Max- FORTH dictionary or - the most recently entered number which is not valid under the current BASE. Example: Enter WRONG . WRONG is not a part of the Max-FORTH dictionary, therefore, Max-FORTH will respond with WRONG ? . Enter HEX . Max-FORTH will respond with OK . TYPE 10H . Max-FORTH will respond with 10H ? since 10His not a valid hexadecimal number. STANDARD ERROR MESSAGE ROUTINE Max-FORTH has a standard routine for handling errors depending on the value of the user variable WARNING which is not named in the dictionary: WARNING value Max-FORTH action less than 0 executes the word ABORT 0 prints an error message number n greater than 0 assumes that a disk (RAMdsk) is in use ERROR MESSAGE DEFINITIONS When Max-FORTH detects an error condition, it may respond with an error message which corresponds to an error message number shown in the Table below. Max-FORTH clears the stacks and executes QUIT as its last actions when an error is processed, except for the following messages: NOT UNIQUE has no effect on stacks, Max-FORTH execution continues normally. HAS INCORRECT ADDRESS MODE shows the name of the code word being defined, the name of assembler op-code word be interpreted, and the message number. Number Message Definition Recovery Action ----------------------------------------------------------------- 0 ? Echoed word was the most recently Check the word's name for spelling error or define interpreted. The word is not in the the named word. Check if the number is valid dictionary or is not a valid number. under the current BASE or change BASE . 1 STACK EMPTY Parameter stack is empty Put more numbers into the stack or quit pulling out number from the empty stack. 2 DICTIONARY Dictionary space is used up. In- crease dictionary space by moving FIRST or by FULL FIRST HERE is less than $A0 FOR- GETing disposable word entries. 3 HAS Address mode for that assembler op-code Correct the address mode. INCORRECT is incorrect. ADDRESS MODE 4 NOT UNIQUE The of the word just defined al- ready Max-FORTH uses the latest definition of . exist in the dictionary. Reminder: previ- ous definition of is still in the system and is accessible by FORGETing the recent . 5-6 --- Not assigned --- 7 FULL STACK The parameter stack is full. DROP or output some stack item. 8-16 --- Not assigned. --- 17 COMPILATION The word just interpreted must be used Do not use the word for interpreting. ONLY inside of a definition. 18 EXECUTION The word just interpreted must be used Do not use the word in defining. ONLY outside of a definition. 19 CONDITIONALS Omitted words or incorrect nesting of Correct or add the conditional pair. NOT PAIRED conditionals 20 DEFINITION Definition is not finished or Finish the definiton or add delimiter. NOT FINISHED delimiter is missing. 21 IN PROTECTED The word in question is below the FENCE . Quit trying to FORGET a protected word DICTIONARY or move FENCE . 22 USE ONLY WHEN Incorrect use of the word --> . Do not use --> when not loading. LOADING 23 NO NAME Name expected in input, not found. Use appropriate name string.