CreateObject()

Creates a Lib or Dictionary object.

Function Signature

 Variant CreateObject( value )

Parameters

Parameter Type Description

value

string

A string that represents the type of object to create.

  • To create a Lib object, use "SBMLibrary". See Lib.
  • To create a Dictionary object, use "Scripting.Dictionary". See Dictionary.

Return

Type Description

Variant

Returns a Variant wrapping the desired object.

Technical Details

SBM ModScript version: 11.3.

Notes

None.

Related Topics

Free Functions