Checking the version of JScript available in Softimage


LogMessage(GetJScriptVersionInfo());

function GetJScriptVersionInfo()
{
    var s;
    s = ""; // Build string with necessary info.
    s += ScriptEngine() + " Version: ";
    s += ScriptEngineMajorVersion() + ".";
    s += ScriptEngineMinorVersion() + ".";
    s += ScriptEngineBuildVersion();
    return(s);
}

On Linux:

// INFO : JScript Engine Version: 5.1.4411

On Windows:

// INFO : JScript Version: 5.8.16762

1 thought on “Checking the version of JScript available in Softimage

  1. Just an added note for passing readers… JScript and JavaScript are NOT the same thing. JScript is Microsoft’s implementation of JavaScript and yes there are functions that are different between the two languages. http://en.wikipedia.org/wiki/JScript

    Now, if we could only get the Softimage documentation team to understand the difference and make that change within not only the SI docs, but also the SI interface… like the Synoptic View Editor. 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s