Skip to content
NikkoTC edited this page Sep 4, 2023 · 8 revisions

This function creates an instance of class and returns it.
When instance created, it will execute method named _constructor.


Syntax

create(classID, args...);
Argument Description
classID The unique class ID
args... Constructor arguments

Returns

The class instance struct.


Example

inst = create(MyClass);

The above code will create an instance of class MyClass and assign it to inst variable.