[Pharo-dev] Color is strange

Camillo Bruni camillobruni at gmail.com
Wed Oct 16 10:55:19 EDT 2013


haltOnce :)

On 2013-10-16, at 16:53, Benjamin <benjamin.vanryseghem.pharo at gmail.com> wrote:

> put a halt 
> 
> XD
> 
> Ben
> 
> On Oct 16, 2013, at 4:49 PM, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:
> 
>> Hi guys
>> 
>> I wonder if this is me that miss something important… but here is what I did:
>> 
>> Color>>printOn: aStream 
>> 	| name |
>> 	Transcript show:'x'. 
>> 	(name := self name) ifNotNil: 
>> 		[ ^ aStream
>> 			nextPutAll: 'Color ';
>> 			nextPutAll: name ].
>> 	self storeOn: aStream
>> 
>> 
>> then I type 
>> 
>> 1 makeAnError and execute it.
>> 
>> and in the transcript I get 
>> 	xxxxxxxxxxxxxxxxxxxxxSmallInteger
>> 
>> I'm totally puzzled why would we printOn: color ? before even opening a browser.
>> 
>> stef
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 447 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131016/5c9d6879/attachment.asc>


More information about the Pharo-dev mailing list