False.st
changeset 6906 87afb9964006
parent 3044 a0bbac91639b
child 9000 74a49b889c33
--- a/False.st	Tue Nov 26 14:57:13 2002 +0100
+++ b/False.st	Tue Nov 26 16:48:39 2002 +0100
@@ -10,6 +10,8 @@
  hereby transferred.
 "
 
+"{ Package: 'stx:libbasic' }"
+
 Boolean subclass:#False
 	instanceVariableNames:''
 	classVariableNames:''
@@ -126,7 +128,11 @@
 
 & aBoolean
     "return true, if both the receiver and the argument are true
-     (since the receiver is false, return false)"
+     (since the receiver is false, return false)
+     Notice: 
+         as this is a binary message, the argument is always evaluated. 
+         It might be better to use and:[...], which does not evaluate
+         the argument if the receiver is already false."
 
     ^ false
 !
@@ -157,7 +163,11 @@
 
 | aBoolean
     "return true, if either the receiver or the argument is true
-     (since the receiver is false, return the argument)"
+     (since the receiver is false, return the argument).
+     Notice: 
+         as this is a binary message, the argument is always evaluated. 
+         It might be better to use or:[...], which does not evaluate
+         the argument if the receiver is already true."
 
     ^ aBoolean
 ! !
@@ -173,4 +183,5 @@
 !False class methodsFor:'documentation'!
 
 version
-^ '$Header: /cvs/stx/stx/libbasic/False.st,v 1.18 1997-10-21 17:42:26 cg Exp $'! !
+^ '$Header: /cvs/stx/stx/libbasic/False.st,v 1.19 2002-11-26 15:48:39 cg Exp $'
+! !