Re: different script languages in one script?

Date : Fri, 2 Jun 2006 07:44:06 -0700 (PDT)
To : XSI(at)Softimage.COM
From : brad friedman <xsibrad(at)fie.us>
Subject : Re: different script languages in one script?
not sure honestly.  I made that addon for a specific project that I only worked on for a couple of months.  In that time it never failed.  but that doesn't mean there's no catastrophic failure waiting to happen.
 
-brad

Bernard Lebel <3dbernard(at)gmail.com> wrote:
Brad, how reliable is the eval() call in JScript?
I have read many times about the Python flavor being highly unreliable
(I have seen examples where it would fail miserably).

Bernard



On 6/2/06, brad friedman wrote:
> If a language has an eval() type function then you can wrap it like such:
>
> http://xsi.fie.us/fiejseval/
>
> Very dirty... but does the job.
>
> You can put JScript code in a string literal and eval it through the command
> from any other language XSI supports, including C++, or C# through COM, in
> the extreme cases.
>
> -brad
>
> Bernard Lebel <3dbernard(at)gmail.com> wrote:
> There are two ways that I'm aware of:
>
> - Using the ExecuteScript command, which allows you to run a script in
> any supported language
>
> - Using a custom command, which allows you to run a command in any
> supported language.
>
>
> However, I have never heard mixing two different language in the
> *same* script file.
>
>
> Cheers
> Bernard
>
>
>
> On 6/1/06, David Saber wrote:
> > I heard it is possible to mix different script languages in one script,
> > but how do you do that?
> >
> > ---
> > 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
>
>
---
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.