| << G.2.0- JScript Error Codes | AppendixG | G.2.2- Runtime Errors >> |
Syntax Errors
Syntax errors occur wherever your script contains statementsthat do not follow the pre-defined rules for that language. Note that this typeof error should be caught during development. JScript contains 32 syntax errors,listed below:
| Number | Hexadecimal | Description |
| 1001 | 800A03E9 | Out of memory |
| 1002 | 800A03EA | Syntax error |
| 1003 | 800A03EB | Expected ':' |
| 1004 | 800A03EC | Expected ';' |
| 1005 | 800A03ED | Expected '(' |
| 1006 | 800A03EE | Expected ')' |
| 1007 | 800A03EF | Expected ']' |
| 1008 | 800A03F0 | Expected '{' |
| 1009 | 800A03F1 | Expected '}' |
| 1010 | 800A03F2 | Expected identifier |
| 1011 | 800A03F3 | Expected '=' |
| 1012 | 800A03F4 | Expected '/' |
| 1013 | 800A03F5 | Invalid number |
| 1014 | 800A03F6 | Invalid character |
| 1015 | 800A03F7 | Unterminated string constant |
| 1016 | 800A03F8 | Unterminated comment |
| Number | Hexadecimal | Description |
| 1018 | 800A03FA | 'return' statement outside of function |
| 1019 | 800A03FB | Can't have 'break' outside of loop |
| 1020 | 800A03FC | Can't have 'continue' outside of loop |
| 1023 | 800A03FF | Expected hexadecimal digit |
| 1024 | 800A0400 | Expected 'while' |
| 1025 | 800A0401 | Label redefined |
| 1026 | 800A0402 | Label not found |
| 1027 | 800A0403 | 'default' can only appear once in a 'switch' statement |
| 1028 | 800A0404 | Expected identifier or string |
| 1029 | 800A0405 | Expected '@end' |
| 1030 | 800A0406 | Conditional compilation is turned off |
| 1031 | 800A0407 | Expected constant |
| 1032 | 800A0408 | Expected '@' |
| 1033 | 800A0409 | Expected 'catch' |
| 1034 | 800A040A | Expected 'var' |
| 1035 | 800A040B | throw must be followed by an expression on the same source line |
| << G.2.0- JScript Error Codes | AppendixG | G.2.2- Runtime Errors >> |

RSS

