I've just started
looking at Squeak and can't seem to print to Transcript. I'm wondering if I'm
doing it properly.
I've written,
Transcript
show: 'Hello world!' into the Workspace window but nothing shows up
in the open Transcript window.
What am I doing
wrong?
Thanks,
Harry
_______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
On Saturday 20 January 2007 04:08, Harry Mueller wrote:
> I've just started looking at Squeak and can't seem to print to > Transcript. I'm wondering if I'm doing it properly. > > I've written, Transcript show: 'Hello world!' into the Workspace > window but nothing shows up in the open Transcript window. > > What am I doing wrong? You probably need a cr in to get the output buffer flushed. vis: Transcript show: 'Hello world!'; cr. _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
In reply to this post by Harry Mueller
Harry Mueller wrote:
> I've just started looking at Squeak and can't seem to print to > Transcript. I'm wondering if I'm doing it properly. > > I've written, Transcript show: 'Hello world!' into the Workspace > window but nothing shows up in the open Transcript window. This might sound stupid, but did you execute the expression, also known as "do it"? place the cursor on the line of "Transcript show: 'Hello world!'" and press Ctl+d. > > What am I doing wrong? > > Thanks, Harry > > > ------------------------------------------------------------------------ > > _______________________________________________ > Beginners mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/beginners -- brad fuller www.bradfuller.com _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
In reply to this post by Harry Mueller
I just downloaded the latest version for Macintosh OS X and
tried it. No problem. From: [hidden email] [mailto:[hidden email]] On Behalf Of Harry Mueller Sent: Friday, January 19, 2007 10:08 AM To: [hidden email] Subject: [Newbies] Problem printing from Workspace to Transcript I've just started
looking at Squeak and can't seem to print to Transcript. I'm wondering if I'm
doing it properly.
I've written,
Transcript
show: 'Hello world!' into the Workspace window but nothing shows up
in the open Transcript window.
What am I doing
wrong?
Thanks,
Harry
_______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
In reply to this post by Christopher Sawtell
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 [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
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: [hidden email] [mailto:[hidden email]] 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 [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
Free forum by Nabble | Edit this page |