# Troubleshooting

- [Error Messages](/troubleshooting/errors.md)
- [0001: INI file not found](/troubleshooting/errors/0001.md)
- [0002: Unknown array type](/troubleshooting/errors/0002.md)
- [0003: Error reading script.img](/troubleshooting/errors/0003.md)
- [0004: Unknown parameter type](/troubleshooting/errors/0004.md)
- [0005: Invalid edit mode](/troubleshooting/errors/0005.md)
- [0006: Unknown file header](/troubleshooting/errors/0006.md)
- [0007: File not found](/troubleshooting/errors/0007.md)
- [0008: Error reading opcodes list](/troubleshooting/errors/0008.md)
- [0009: Opcodes list not found](/troubleshooting/errors/0009.md)
- [0010: Unknown opcode](/troubleshooting/errors/0010.md)
- [0011: Unknown opcode](/troubleshooting/errors/0011.md)
- [0012: Incorrect jump instruction](/troubleshooting/errors/0012.md)
- [0013: Unknown directive](/troubleshooting/errors/0013.md)
- [0014: Incorrect expression](/troubleshooting/errors/0014.md)
- [0016: Script not found](/troubleshooting/errors/0016.md)
- [0017: Unknown type of variable](/troubleshooting/errors/0017.md)
- [0018: Invalid array size](/troubleshooting/errors/0018.md)
- [0019: Unknown array type](/troubleshooting/errors/0019.md)
- [0020: Variable is not declared as array](/troubleshooting/errors/0020.md)
- [0021: Incorrect variable name](/troubleshooting/errors/0021.md)
- [0022: Loop counter is not a variable](/troubleshooting/errors/0022.md)
- [0023: Unexpected instruction](/troubleshooting/errors/0023.md)
- [0024: Error reading integer number](/troubleshooting/errors/0024.md)
- [0025: Incorrect counter range](/troubleshooting/errors/0025.md)
- [0026: Error reading floating-point number](/troubleshooting/errors/0026.md)
- [0027: String is too long](/troubleshooting/errors/0027.md)
- [0028: Unterminated string](/troubleshooting/errors/0028.md)
- [0029: Invalid debug script ID](/troubleshooting/errors/0029.md)
- [0031: Invalid total number of elements](/troubleshooting/errors/0031.md)
- [0032: Invalid value in the header](/troubleshooting/errors/0032.md)
- [0033: Invalid local variable name](/troubleshooting/errors/0033.md)
- [0034: Local variable is out of range](/troubleshooting/errors/0034.md)
- [0035: Expected word](/troubleshooting/errors/0035.md)
- [0036: Local mission variable is out of range](/troubleshooting/errors/0036.md)
- [0037: Debug script not found](/troubleshooting/errors/0037.md)
- [0038: Unknown type of array](/troubleshooting/errors/0038.md)
- [0039: Invalid element definition](/troubleshooting/errors/0039.md)
- [0040: Constant name or value not found](/troubleshooting/errors/0040.md)
- [0041: Invalid mission id](/troubleshooting/errors/0041.md)
- [0042: Duplicate external script name](/troubleshooting/errors/0042.md)
- [0043: Invalid array index](/troubleshooting/errors/0043.md)
- [0044: Invalid array name](/troubleshooting/errors/0044.md)
- [0045: Invalid array syntax: variable name is missing](/troubleshooting/errors/0045.md)
- [0046: Invalid array syntax](/troubleshooting/errors/0046.md)
- [0047: Invalid array size](/troubleshooting/errors/0047.md)
- [0048: Error reading array size](/troubleshooting/errors/0048.md)
- [0049: Not enough parameters for opcode](/troubleshooting/errors/0049.md)
- [0050: Not enough parameters for command](/troubleshooting/errors/0050.md)
- [0051: Error writing script.img header](/troubleshooting/errors/0051.md)
- [0052: Error writing script.img](/troubleshooting/errors/0052.md)
- [0053: Recursive include](/troubleshooting/errors/0053.md)
- [0054: Label not found](/troubleshooting/errors/0054.md)
- [0055: Identifier not found](/troubleshooting/errors/0055.md)
- [0056: Label redeclared](/troubleshooting/errors/0056.md)
- [0057: Internal label not found](/troubleshooting/errors/0057.md)
- [0058: Invalid parameter](/troubleshooting/errors/0058.md)
- [0059: Invalid opcode definition](/troubleshooting/errors/0059.md)
- [0060: No input file](/troubleshooting/errors/0060.md)
- [0061: Empty source](/troubleshooting/errors/0061.md)
- [0062: IDE file not found](/troubleshooting/errors/0062.md)
- [0063: Mission label expected](/troubleshooting/errors/0063.md)
- [0064: Mission label not found](/troubleshooting/errors/0064.md)
- [0065: External script label not found](/troubleshooting/errors/0065.md)
- [0067: Forbidden character in external script name](/troubleshooting/errors/0067.md)
- [0068: Forbidden character in identifier](/troubleshooting/errors/0068.md)
- [0069: Forbidden character in object name](/troubleshooting/errors/0069.md)
- [0071: Incorrect number of conditions](/troubleshooting/errors/0071.md)
- [0072: Missing logical operator](/troubleshooting/errors/0072.md)
- [0073: Redundant logical operator](/troubleshooting/errors/0073.md)
- [0074: Disabled option](/troubleshooting/errors/0074.md)
- [0075: Incorrect hexadecimal value](/troubleshooting/errors/0075.md)
- [0076: Condition expected](/troubleshooting/errors/0076.md)
- [0079: Invalid parameter in Alloc command](/troubleshooting/errors/0079.md)
- [0080: Non-negative integer number expected](/troubleshooting/errors/0080.md)
- [0081: Too many actual parameters](/troubleshooting/errors/0081.md)
- [0082: Invalid syntax](/troubleshooting/errors/0082.md)
- [0083: Unknown model ID](/troubleshooting/errors/0083.md)
- [0084: Jump to offset 0](/troubleshooting/errors/0084.md)
- [0086: Invalid array index](/troubleshooting/errors/0086.md)
- [0087: Invalid variable](/troubleshooting/errors/0087.md)
- [0088: Global variable is out of range](/troubleshooting/errors/0088.md)
- [0089: Opcode not found](/troubleshooting/errors/0089.md)
- [0090: Duplicate constant](/troubleshooting/errors/0090.md)
- [0091: Not enough memory to allocate a local variable](/troubleshooting/errors/0091.md)
- [0092: Incorrect export symbol](/troubleshooting/errors/0092.md)
- [0093: Only headless scripts can export code](/troubleshooting/errors/0093.md)
- [0094: Duplicate export name](/troubleshooting/errors/0094.md)
- [0095: Incorrect import name](/troubleshooting/errors/0095.md)
- [0096: Incorrect import path](/troubleshooting/errors/0096.md)
- [0097: Too many actual parameters](/troubleshooting/errors/0097.md)
- [0098: Unknown operator](/troubleshooting/errors/0098.md)
- [0099: Left-hand side of the assignment must be a variable](/troubleshooting/errors/0099.md)
- [0100: Invalid operator](/troubleshooting/errors/0100.md)
- [0101: Variable is not a class instance](/troubleshooting/errors/0101.md)
- [0102: Switch statement needs a variable](/troubleshooting/errors/0102.md)
- [0103: Expected a switch case](/troubleshooting/errors/0103.md)
- [0104: Expected a value for the switch case](/troubleshooting/errors/0104.md)
- [0105: Expected a function argument name](/troubleshooting/errors/0105.md)
- [0106: Expected a function argument type](/troubleshooting/errors/0106.md)
- [0107: Expected function return type](/troubleshooting/errors/0107.md)
- [0108: Unsupported argument type](/troubleshooting/errors/0108.md)
- [0109: Expected variables to store function result](/troubleshooting/errors/0109.md)
- [0110: Function must return N values](/troubleshooting/errors/0110.md)
- [0111: Function not found in current scope](/troubleshooting/errors/0111.md)
- [0113: Duplicate function declaration](/troubleshooting/errors/0113.md)
- [0115: Invalid variable name. Name is reserved by another class or function](/troubleshooting/errors/0115.md)
- [0116: Invalid variable name](/troubleshooting/errors/0116.md)
- [0117: Invalid function name](/troubleshooting/errors/0117.md)
- [0118: Unexpected value to return](/troubleshooting/errors/0118.md)
- [0119: Unsupported type of argument](/troubleshooting/errors/0119.md)
- [0120: Expected calling convention type](/troubleshooting/errors/0120.md)
- [0121: Expected function's static address](/troubleshooting/errors/0121.md)
- [0122: A non-static function can't be called by name](/troubleshooting/errors/0122.md)
- [0123: A 'thiscall' function requires a pointer](/troubleshooting/errors/0123.md)
- [0124: Foreign functions can't return more than one value](/troubleshooting/errors/0124.md)
- [0125: Unexpected return type in function](/troubleshooting/errors/0125.md)
- [0126: Can't export a foreign function definition](/troubleshooting/errors/0126.md)
- [0127: Unexpected mission label in function](/troubleshooting/errors/0127.md)
