Click to See Complete Forum and Search --> : How to split JScript file into several ones?
vlasov pavel
May 7th, 2003, 08:04 AM
Hello.
I have a large JScript file with WindowsScript code (not web-browser code).
How can I split it into several files?
Satishpp
May 7th, 2003, 02:36 PM
Like this (http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/wsh/htm/wsAdvantagesOfWs.asp)
Satish
vlasov pavel
May 8th, 2003, 06:13 AM
Thanks Satishpp. That's I need.
vlasov pavel
May 8th, 2003, 09:35 AM
Using .wsf files (with includes) I get wrong line numbers of errors occured. WScript tell me error occured in the file I ran, although it really occured in an included file.
Is here a way to solve this?
Satishpp
May 8th, 2003, 04:28 PM
None that I know of.
Actually the line numbers reported are the correct ones. When you use an include statement, the included files lines are also counted.
One idea would be to know the number of lines in the included file and substract that number from the line number reprted in the error.
Satish
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.