Open main menu

CDOT Wiki β

Changes

GPU621/Chapel

438 bytes added, 23:19, 29 November 2022
Special MEthods
=== Special MEthods ===
*An initializer named init is called when creating an instance of the class or record.
*A method named init= is called a copy initializer and accepts a single argument.
*If a method named postinit that accepts zero arguments exists for a class or record type, it will automatically be called after the initializer call completes.
*The deinit method will deinitialize a record when it leaves scope, or a class when delete is called on it.
= Reference =
73
edits