JScript syntax errors are errors that result when the structure of one of your JScript statements violates one or more of the grammatical rules of the JScript scripting language. JScript syntax errors occur during the program compilation stage, before the program has begun to be executed.
Error Number | Description |
---|---|
1019 | Can't have 'break' outside of loop |
1020 | Can't have 'continue' outside of loop |
1030 | Conditional compilation is turned off |
1027 | 'default' can only appear once in a 'switch' statement |
1005 | Expected '(' |
1006 | Expected ')' |
1012 | Expected '/' |
1003 | Expected ':' |
1004 | Expected ';' |
1032 | Expected '@' |
1029 | Expected '@end' |
1007 | Expected ']' |
1008 | Expected '{' |
1009 | Expected '}' |
1011 | Expected '=' |
1033 | Expected 'catch' |
1031 | Expected constant |
1023 | Expected hexadecimal digit |
1010 | Expected identifier |
1028 | Expected identifier, string or number |
1024 | Expected 'while' |
1014 | Invalid character |
1026 | Label not found |
1025 | Label redefined |
1018 | 'return' statement outside of function |
1002 | Syntax error |
1035 | Throw must be followed by an expression on the same source line |
1016 | Unterminated comment |
1015 | Unterminated string constant |