vbscript| error |vbscript VBScript syntax error
If the VBScript statement structure violates one or more VBScript scripting language syntax rules, a VBScript syntax error is generated.
Errors are usually generated when the program is compiled before executing the program. Here are 53 syntax errors:
Error number Description
Decimal hexadecimal description
1001 800a03e9 Low Memory
1002 800a03ea Syntax error
1003 800a03eb Missing ":"
1005 800a03ed need ' ('
1006 800a03ee need ') '
1007 800a03ef Missing "]"
1010 800A03F2 requires identifiers
1011 800a03f3 need ' = '
1012 800a03f4 need ' If '
1013 800a03f5 needs ' to '
1014 800a03f6 needs ' end '
1015 800a03f7 needs ' Function '
1016 800a03f8 needs ' Sub '
1017 800A03F9 needs ' Then '
1018 800A03FA needs ' Wend '
1019 800A03FB need ' Loop '
1020 800A03FC needs ' Next '
1021 800A03FD needs ' case '
1022 800a03fe needs ' Select '
1023 800A03FF requires an expression
1024 800a0400 Need statement
1025 800a0401 requires the end of the statement
1026 800a0402 requires integer constants
1027 800a0403 need ' while ' or ' Until '
1028 800a0404 need ' while, ', ' Until, ' or statement not ended
1029 800a0405 need ' with '
1030 800a0406 identifier too long
Invalid number of 1031 800a0407
Invalid characters for 1032 800a0408
1033 800a0409 string constants with no end
1034 800a040a A comment that is not closed
1037 800a040d Invalid using keyword ' Me '
1038 800a040e ' Loop ' doesn't have ' do '
1039 800a040f Invalid ' exit ' statement
1040 800a0410 invalid ' for ' Loop control variable
1041 800a0411 Name Redefine
1042 800a0412 must be the first statement of a row
1043 800a0413 cannot be assigned to non-ByVal parameters
1044 800a0414 cannot use parentheses when calling Sub
1045 800a0415 requires literal constants
1046 800a0416 need ' in '
1047 800a0417 needs ' Class '
1048 800a0418 must be defined within a class
1049 800a0419 requires let, Set, or get in a property declaration
1050 800a041a needs ' property '
The number of 1051 800a041b parameters must be consistent with the attribute description
1052 800a041c cannot have more than one default property/method in a class
1053 800A041D class initialization or termination cannot take parameters
1054 800a041e Property Let or Set should have at least one argument
1055 800a041f don't need ' Next '
1056 800a0420 can only specify ' Default ' on ' property ' or ' Function ' or ' Sub '
1057 800a0421 stating ' Default ' must also state ' public '
1058 800a0422 can only specify ' Default ' in Property Get
VBScript run-time Error
If the VBScript script performs an operation that the system cannot implement, a VBScript Run-time error is generated. Only when running scripts, assigning values to variable expressions, or
The VBScript run-time error is generated when memory is allocated. Here are 65 Run-time errors:
Error number Description
Decimal hexadecimal description
[1] [2] [3] Next page