define
method, this definition is
nullified. If the receiver class had no definition for
methodname, no action is taken. delete
deletes only methods the target class defines. You
cannot delete inherited methods the target's superclasses define.delete
method is a protected method.myclass=.object~subclass("Myclass") /* After creating a class */
myclass~define("TYPE",'return "my class"') /* and defining a method */
myclass~delete("TYPE") /* this deletes the method */