SBM ModScript Reference → Programming SBM ModScript → Free Functions → ScriptEngineVersion()
Returns information about the ChaiScript engine.
string ScriptEngine() string ScriptEngineVersion() int ScriptEngineMajorVersion() int ScriptEngineMinorVersion() string ScriptEngineBuildVersion()
Parameter | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
string int |
|
SBM ModScript version: 11.3.
Ext.WriteStream( ScriptEngine() ); Ext.WriteStream( ScriptEngineVersion() ); Ext.WriteStream( ScriptEngineMajorVersion() ); Ext.WriteStream( ScriptEngineMinorVersion() ); Ext.WriteStream( ScriptEngineBuildVersion() );
Result:
ChaiScript 6.0.0 6 0 1140000059
ScriptEngineMajorVersionCompat() and ScriptEngineMinorVersionCompat() exist to provide backward compatibility for converted AppScripts. For details, refer to SBM AppScript Conversion Functions.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.