Microsoft VBScript compilation error

When I run a vbs script on my new pc I get

Microsoft VBScript compilation error: Expected statement

Any ideas? It works on the old one..

Without seeing the script we'd be wild guessing.