[Newbies] Problem printing from Workspace to Transcript
Mark Bailey
Mark.Bailey at sas.com
Mon Jan 22 19:44:32 UTC 2007
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: beginners-bounces at lists.squeakfoundation.org [mailto:beginners-bounces at lists.squeakfoundation.org] 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 at lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
More information about the Beginners
mailing list