Skip to content

Class instances

Richard Baltrusch edited this page Mar 9, 2021 · 2 revisions

Class instances

Instantiating classes

Objects may be instantiated using the new keyword. For example, to instantiate two objects obj1 and obj2 of type MyClass, we may use the following syntax:

call new MyClass obj1 construct
call new MyClass obj2 construct

Deleting objects

To delete an object obj, we may use the clear keyword using the following syntax:

call clear obj

More information

More information can be found in the home page, the quick start page and the examples.

Clone this wiki locally