Index: doc/langRef.xotcl =================================================================== diff -u -rf3794b8253a6b514a299f0587f524fdd984727d6 -r89bdbf8d0269f41d6e313257877e3051f2cda673 --- doc/langRef.xotcl (.../langRef.xotcl) (revision f3794b8253a6b514a299f0587f524fdd984727d6) +++ doc/langRef.xotcl (.../langRef.xotcl) (revision 89bdbf8d0269f41d6e313257877e3051f2cda673) @@ -225,12 +225,13 @@ Turn on/off assertion checking. Options argument is the list of assertions, that should be checked on the object automatically. Per default assertion checking is turned - off. Examples: - <@pre class='code'> - o check {}; <@it># turn off assertion checking on object o - o check all; <@it># turn on all assertion checks on object o - o check {pre post}; <@it># only check pre/post assertions - <@a href="#Object-info">info check introspects check options. + off.
+ Examples:
+<@pre CLASS="code"> + o check {}; <@i># turn off assertion checking on object o + o check all; <@i># turn on all assertion checks on object o + o check {pre post}; <@i># only check pre/post assertions + } return "empty string" } @@ -525,7 +526,7 @@ Returns the body of the specified proc (object specific method). <@li><@TT>objName info class: - Returns the name of the class of the current object. + Returns the class of objName. <@li><@TT>objName info children ?pattern?: Returns the list of aggregated objects with fully qualified names if @@ -1553,7 +1554,7 @@

Example of a class definition with three attribute slots:

-
+<@pre CLASS="code">
   <@tt>Class Person -slots {
     Attribute name
     Attribute salary -default 0