ERROR : Cannot use parentheses when calling a Sub

 
 
 
'ERROR : Cannot use parentheses when calling a Sub - [line 1]

Possible Cause

This is a typical VBScript error indicating that your syntax is wrong: you may be using parentheses around the arguments without getting a return value. For example:

LogMessage( "cube*" )

Suggested Solution

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

LogMessage "cube*"

For more information on return values, see Data Types and Return Values.