/* This is example of advanced C<<1 object oriented features... */
-def_type(Shape);
-
-def_mem(Interface)
+def_interface(Shape, Interface)
{
void method(draw) (Shape self);
void method(move) (Shape self, int x, int y);
return this;
}
-/* usage of objects inside C<<1 program */
+/* usage of object community inside C<<1 program */
program
{