====== Errors ====== Here is the list of errors that can be emitted by 10LC, along with additional details about each one. ==== Parser Errors ==== All parser error numbers start with a "P". This list is not exhaustive, and since different parser error codes may be emitted with the same underlying error message, this list will only list the messages. ^ Text ^ Details ^ ^ Byte values must be between 0x00000000 and 0x000000FF (0 and 255) ^ An value was specified that was expected to be within the range of a byte, but exceeded that range. ^ ^ Syntax error, expected: %%;%% ^ The line in question or the line above it is missing the statement terminator, which is a semicolon, or an invalid character was present in a label or program name.^ ^ Syntax error, expected: DisplayString ^ The ''Display'' statement expects a quoted string but something else was provided instead. ^ ^ Strings used in Display and Serial statements cannot be longer than 32\\ printed characters ^ The ''Display'' and ''Serial'' statements in 10LC limit the string to 32 //printed// characters. ^ ^ Invalid character: %%' " '%% ^ If this error is shown at the start of the quoted string for a ''Display'' or ''Serial'' statement, it actually means the quoted string contains at least one unsupported character. ^ ^ Syntax error, expected: RegName, Symbol, IntegerValue, Not, And, Or,\\ ShiftL, ShiftR, Increment, Decrement, Goto ^ This usually means that an unexpected comparison operator or symbol was encountered in an ''If'' expression. ^ ^ Syntax error, expected: SetupBeep, SetupInteractiveErrors,\\ SetupEnableFL, SetupLineSize, SetupNewline, SetupPod,\\ SetupXOn, SetupXOff, SetupPodTimeout, SetupTraps,\\ Program, EndProgram, Read, Write, WriteCtrl, Learn,\\ Alias, Const, Global, RegName, Symbol, Increment,\\ Decrement, Execute, SetupMemMap, Display, AutoTest, BusTest,\\ LongRAMTest, ShortRAMTest, ROMTest, IOTest, Not, Ramp, Walk,\\ ToggleAddress,\\ ReadProbe, ReadTape, WriteTape, ToggleData, ToggleCtrl,\\ ReadStatus, Stop, RunUUT, LabelMarker, Goto, If, Sync, Setup,\\ Delay, Fill, FillRamp, Serial, ShiftL, ShiftR, CompilerDirective, Equals, AndEquals, OrEquals, ShiftLEquals, ShiftREquals ^ This is a long error saying that you likely doubled a semicolon somewhere or used a keyword/statement that does not exist in 10LC. ^ ^ Syntax error, expected: Repeat, Loop, ;, Into ^ A statement has an unsupported value in it. ^ ==== Compiler Errors ==== ^ Error ^ Text ^ Details ^ ^ L1024 ^ ICE: Unable to find handler for ^ This is an Internal Compiler Error that should not occur - contact me if it does. ^ ^ L1025 ^ ICE: Pod name is unknown ^ This is an Internal Compiler Error that should not occur - contact me if it does. ^ ^ L1026 ^ ICE: Unexpected operator type encountered for {symbol} ^ This is an Internal Compiler Error that should not occur - contact me if it does. ^ ^ L1027 ^ ICE: Unexpected IF operator type {optype} encountered ^ This is an Internal Compiler Error that should not occur - contact me if it does. ^ ^ L1028 ^ ICE: No value obtained for resolved Const ^ This is an Internal Compiler Error that should not occur - contact me if it does. ^ ^ L1029 ^ ICE: Unexpected IF modifier type {modtype} encountered ^ This is an Internal Compiler Error that should not occur - contact me if it does. ^ ^ L1030 ^ ICE: No register obtained for resolved Alias ^ This is an Internal Compiler Error that should not occur - contact me if it does. ^ ^ L1512 ^ was unexpected, expected a Register or an Alias ^ A value was specified where a register (or an alias) was expected. ^ ^ L1513 ^ was unexpected, expected a Value or Const ^ A register or alias was specified where a value (or constant) was expected. ^ ^ L1514 ^ was unexpected, expected a Value, Const, Register, Alias or an Expression ^ An unrecognized symbol was specified where a value, constant, register, alias or expression was expected. ^ ^ L1515 ^ was unexpected, expected a Value, Const, Register, or an Alias ^ An unrecognized symbol was specified where a value, constant, register, or alias was expected. ^ ^ L1516 ^ was unexpected, expected an Expression ^ An unrecognized symbol was specified where an expression. ^ ^ L1517 ^ The Loop option can only be specified once on a statement ^ The ''Loop'' execution option can only be specified once on a statement. ^ ^ L1518 ^ The Loop option can only be specified as the last option on a statement (after any Repeat options) ^ The ''Loop'' execution option can only be specified as the last or only option on a statement. ^ ^ L1519 ^ was unexpected as the INTO value; expected a Register or an Alias ^ You must specify a Register or an Alias with the INTO version of the ''Read'' statement. ^ ^ L1520 ^ The symbol is unknown and could not be identified as a Constant or an Alias ^ You have specified a symbol that cannot be found in any of the global or local symbol tables. ^ ^ L1521 ^ The statement can only be used inside the context of a Program ^ In 10LC, certain statements can only be used inside of a Program. This is one of them. ^ ^ L1522 ^ The statement can only be used outside the context of a Program ^ In 10LC, certain statements can only be used outside of a Program. This is one of them. (If getting this with a ''Program'' statement, did you forget an ''EndProgram'' statement?) ^ ^ L1523 ^ A Program named has already been created or referenced ^ A program with the same specified name already exists. ^ ^ L1524 ^ A Program with number ("") has already been created or referenced ^ A program with the same specified number already exists. ^ ^ L1525 ^ The specified program number is out of range - it must be between 0 and 99 ^ Program numbers on the 9010A between 9 and 99 (in decimal). ^ ^ L1526 ^ The specified label