On Mon, 14 Aug 2006 10:17:40 +0200, Damien Cassou <[EMAIL PROTECTED]> wrote:
Klaus D. Witzel wrote:
For an example try a printIt on
  ^ true ifTrue: #a ifFalse: [false ifTrue: #b ifFalse: #c]
Again, a "natural" confusion between an object's value and a block's value.

"
  <- argument of ifTrue: must be a block or variable ->
"


In VW, there is no Object>>value method. But #value is implemented in Boolean and UndefinedObject. Is this Smalltalk-standard to have #value on Object ?

Just scanned SmalltalkV2.sources and SqueakV1.sources: #value is not implemented by Object nor by UndefinedObject.

/Klaus

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to