Hi!
We've got a CAD tool which offers automation and has two "inbuilt" interpreters,
VBScript and JScript.
Now we've got a performance problem and are looking for possible speedups.
So far we did much of our programming in VBScript but I've just discovered
that there is a JScript.NET which can be compiled to the CLR.
If, by chance, the CAD tool pulls whatever Scripting is available from
Windows they might be unknowingly offering JScript.NET too.
Is there a way to check that?
I have not much experience with JScript and none with .NET.
Is there a bit of code which, when put into a .js file would
syntactically fail with JScript but produce a short output,
like a hello in a c:\xxx.log file in case JScript.Net is supported?
Would I need to compile it or is that optional for this check?
Lots of Greetings and Thanks!
Volker
Peter Torr (MS) - 02 May 2006 16:54 GMT
> We've got a CAD tool which offers automation and has two "inbuilt"
> interpreters,
[quoted text clipped - 5 lines]
> Windows they might be unknowingly offering JScript.NET too.
> Is there a way to check that?
Hi,
Although JScript .NET is backwards compatible with JScript from a language
perspective, the way they are hosted is completely different and you will
need a new version of your CAD program that supports .NET before you can use
it.
Peter

Signature
Peter Torr - http://blogs.msdn.com/ptorr
HD DVD Program Manager
Volker Hetzer - 03 May 2006 07:19 GMT
>> We've got a CAD tool which offers automation and has two "inbuilt"
>> interpreters,
[quoted text clipped - 12 lines]
> need a new version of your CAD program that supports .NET before you can use
> it.
Ok.
Thanks a lot!
Volker