Index: doc/example-scripts/rosetta-single-inheritance.html =================================================================== diff -u -rc7738a386075dae91fb88e6a93232f37dfedc228 -rc4f449cb353be812ba6502ef8e9587e87881f59b --- doc/example-scripts/rosetta-single-inheritance.html (.../rosetta-single-inheritance.html) (revision c7738a386075dae91fb88e6a93232f37dfedc228) +++ doc/example-scripts/rosetta-single-inheritance.html (.../rosetta-single-inheritance.html) (revision c4f449cb353be812ba6502ef8e9587e87881f59b) @@ -1,788 +1,788 @@ - - - - - -Listing of doc/example-scripts/rosetta-single-inheritance.tcl - - - - - -
-
-

Rosetta example: Inheritance/Single

-
-

Show a tree of types which inherit from each other. The top of the -tree should be a class called Animal. The second level should have -Dog and Cat. Under Dog should be Lab and Collie.

- -
-
-
package req nx
-
-nx::Class create Animal
-nx::Class create Dog -superclasses Animal
-nx::Class create Cat -superclasses Animal
-nx::Class create Collie -superclasses Dog
-nx::Class create Lab -superclasses Dog
-

Show the resulting class search order:

-
-
-
% Lab info superclasses -closure
-::Dog ::Animal ::nx::Object
-% [Collie new] info precedence
-::Collie ::Dog ::Animal ::nx::Object
-
-
-
-

- - - + + + + + +Listing of doc/example-scripts/rosetta-single-inheritance.tcl + + + + + +
+
+

Rosetta example: Inheritance/Single

+
+

Show a tree of types which inherit from each other. The top of the +tree should be a class called Animal. The second level should have +Dog and Cat. Under Dog should be Lab and Collie.

+ +
+
+
package req nx
+
+nx::Class create Animal
+nx::Class create Dog -superclasses Animal
+nx::Class create Cat -superclasses Animal
+nx::Class create Collie -superclasses Dog
+nx::Class create Lab -superclasses Dog
+

Show the resulting class search order:

+
+
+
% Lab info superclasses -closure
+::Dog ::Animal ::nx::Object
+% [Collie new] info precedence
+::Collie ::Dog ::Animal ::nx::Object
+
+
+
+

+ + +