The CheckSyntax method evaluates the ActiveXScript property value for syntactic correctness.
object.CheckSyntax()
HRESULT CheckSyntax();