Fix typo.
authorStefan Vogel <sv@exept.de>
Mon, 11 Nov 1996 22:54:08 +0100
changeset 440 a9f3ecf2aa6f
parent 439 62b12c801c49
child 441 fa5637faa969
Fix typo.
Switch.st
--- a/Switch.st	Mon Nov 11 18:55:02 1996 +0100
+++ b/Switch.st	Mon Nov 11 22:54:08 1996 +0100
@@ -45,10 +45,15 @@
 
      example:
 
+        |a b|
+
+        a := 1.
+        b := 2.
+
         (Switch new)
             if:[a > b] then:['a is greater than b'];
             if:[a < b] then:['a is less than b'];
-            otherwise:['a same as b';
+            otherwise:['a same as b'];
             value
     "
 ! !
@@ -91,5 +96,5 @@
 !Switch class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libcomp/Switch.st,v 1.5 1996-05-10 12:33:37 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libcomp/Switch.st,v 1.6 1996-11-11 21:54:08 stefan Exp $'
 ! !