TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: All
from: Hrvoje Mesing
date: 2004-08-18 18:02:20
subject: Re: Diagnosing Windows Script Host error

From: "Hrvoje Mesing" 


"Gregg N"  wrote in message
news:41224c7f$1{at}w3.nls.net...
>I am relatively new to windows scripting. I created a WSF file called
> test.wsf that includes several vbscript files. It looks kind of like this:
>
> 
>   
>      
>      
>      
>    
>
> When I run it, I get a dialog that says
>
>    Script: test.wsf
>    Line: 1
>    Char: 43
>    Error: Expected end of statement
>    Code: 800A0401
>    Source: Microsoft VBScript compilation error
>
> I think the line number is for one of the referenced vbs files, not the
> wsf
> file. How do I find out which one? The script debugger doesn't help
> because
> it is a compilation error, not a run-time error (although I would have
> thought these are one and the same for an interpreted language).
>
> I must be doing something wrong, because using Google I could not find
> anyone with the same problem.

-+-

I did not know that You can start a script with . Also, in
my experience the "Line: " is stating actual line number in the
same script file.
Then again, I could be wrong :)

-+-
M.

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270
@PATH: 379/45 1 396/45 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.