ERROR : Expected end of statement

 
 
 
'ERROR : Expected end of statement - [line 1]

Possible Cause

Your syntax is wrong: you may be missing parentheses around the arguments if you are getting a return value. For example:

sList = GetValue "sp*"

Suggested Solution

Make sure your script uses the following syntax when getting return values:

sList = GetValue( "sp*" )
Tip

If you are using JScript, you should also check to make sure the line ends with a semicolon. If you are using Python, you should check to make sure you are only indenting for a funtion block or a loop block.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License