Re: different script languages in one script?

Date : Thu, 1 Jun 2006 22:10:28 -0700 (PDT)
To : XSI(at)Softimage.COM
From : brad friedman <xsibrad(at)fie.us>
Subject : Re: different script languages in one script?
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


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.