-
Notifications
You must be signed in to change notification settings - Fork 0
Class instances
Richard Baltrusch edited this page Mar 9, 2021
·
2 revisions
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
To delete an object obj, we may use the clear keyword using the following syntax:
call clear obj
More information can be found in the home page, the quick start page and the examples.