Hi Franky
There is no such feature in Jscript.
Some people use eval. See "The Include() Function" section here:
http://digivation.net/programming/registrytools
Another approach (used by the SDK Wizards) is to have a custom object
that provides features used by all the different wizards.
So each wizard calls a command to create an instance of the helper
object, and then calls methods on the helper object.
// Steve
// Team Lead, XSI Customer Support
//
// See the XSI wiki for KB articles, FAQs, and more...
// softimage.wiki.avid.com/Category:Support
-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf
Of Frank Lenhard
Sent: Sunday, February 03, 2008 8:36 AM
To: XSI(at)Softimage.COM
Subject: ?include? in jscript?
Hi scripters,
i dont know if something like i whish for exists in jscript. so far i
didnt found any info.
what i basically want is writing functions in ONE script and include
that script with one nifty line like "include c:\1.jscript" into the
current script and have all the functions declared in 1 available in
script 2.
would keep the scripting much eaasier to read and navigate, then to
mess with thousands of lines of code.
ciao
franky
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi