home *** CD-ROM | disk | FTP | other *** search
- /*
- method definition
- */
- method X::test3(self)
- {
- return(self);
- }
-
- /*
- this method defines the "lt" operator for class "x"
- */
- method X::<(self)
- {
- return(11);
- }
-
-
- /*
- main program
- */
- inherit(Object,X,[]);
- a = new(X);
- ? "a = ",a;
- show methods;
-