RE: ?include? in jscript?

Date : Sun, 3 Feb 2008 08:42:06 -0500
To : <XSI(at)Softimage.COM>
From : "Stephen Blair" <Stephen_Blair(at)Softimage.COM>
Subject : RE: ?include? in jscript?
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


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.