Syntax Errors
Some of the causes of syntax errors:
A missing quotation mark
A string must be enclosed by quotation marks. An error is
generated if one or both are missing.
A missing, misplaced, or extra comma
Each argument for a statement or function must be separated
by a comma. A missing, misplaced, or extra comma generates
an error.
A missing period
Each argument for a statement that corresponds to a dialog
box must begin with a period. For example, .FileName is an
argument for the FileOpen statement.
A missing parenthesis at the end of a function
A function name must always be followed by an opening and
closing parenthesis. A syntax error is generated if one or
both are missing.
|