Oops, the block should be [ :each | Transcript show: each asString ]. I was 
replying from memory - a very bad habit of mine.

Best of luck. 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Bailey
Sent: Monday, January 22, 2007 1:30 PM
To: A friendly place to get answers to even the most basic questionsaboutSqueak.
Subject: RE: [Newbies] Problem printing from Workspace to Transcript

I did a simple loop, too, and it worked. I forgot to add the 'cr' message (I 
don't use the Transcript that much lately) and it still worked.

#( 1 2 3 4 5 ) do: [ :each | Transcript show: each. ]

I get '12345' in the Transcript window.

-----Original Message-----
You probably need a cr in to get the output buffer flushed.
vis:
Transcript show: 'Hello world!'; cr.
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to