Search here for all the info you want in this Blog

Syntax Errors

Before the script is run, the scripting engine parsers all of the  code,converting it into tokens.When an unrecognizable structure or an expression is encountered, a syntax error is generated.

Syntax errors tend to popup in several circumstances:

1) When something is missing from the code-parentheses, keywords (especially in blocks), statement  elements, or when the keyword are simply out of place.

2)When a keyword is misspelled or used incorrectly

3)When you try to use a Visual Basic or VBA keyword or function that is not implemented by VBScript

4)When you use keywords that are not supported  by a particular version of the scripting engine (certain keywords may be phased out, and others added) 

No comments:

Post a Comment