73
edits
Changes
→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 =