I'm using Pharo-1.0-10508-rc2. And, yes, I was trying to "do" a comment. Silly me. Thanks for thinking of the obvious (to everyone but me). Works fine now. Steve --- On Fri, 2/26/10, Michael Roberts <mike@mjr104.co.uk> wrote: From: Michael Roberts <mike@mjr104.co.uk> Subject: Re: [Pharo-users] Getting a web page To: "Steve Graham" <jsgrahamus@yahoo.com> Date: Friday, February 26, 2010, 9:52 AM Which version of Pharo are you using? When I try that in a core 1.0 image it seems to work ok. Looking at the code it opens a window for you so you only need to do-it. I assume you are not selecting the quotes, otherwise that would just be a comment. cheers, Mike On Fri, Feb 26, 2010 at 2:35 PM, Steve Graham <jsgrahamus@yahoo.com> wrote: I'm a newbie to Smalltalk, but not to programming. I'm trying to get a web page using an example from Squeak and Pharo (which I have loaded on my machine): "  HTTPSocket httpShowPage: 'http://www.altavista.digital.com/ index.html'    " When I select this and do it - I get nothing. When I select this and print it - I get nil What am I doing wrong? Thanks, Steve _______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Don't worry sillyness is only when you ask several the same question :) I'm daily doing mistakes but I try to learn fast :) Stef On Feb 27, 2010, at 1:40 AM, Steve Graham wrote:
I'm using Pharo-1.0-10508-rc2.
And, yes, I was trying to "do" a comment. Silly me.
Thanks for thinking of the obvious (to everyone but me). Works fine now.
Steve
--- On Fri, 2/26/10, Michael Roberts <mike@mjr104.co.uk> wrote:
From: Michael Roberts <mike@mjr104.co.uk> Subject: Re: [Pharo-users] Getting a web page To: "Steve Graham" <jsgrahamus@yahoo.com> Date: Friday, February 26, 2010, 9:52 AM
Which version of Pharo are you using? When I try that in a core 1.0 image it seems to work ok. Looking at the code it opens a window for you so you only need to do-it. I assume you are not selecting the quotes, otherwise that would just be a comment.
cheers, Mike
On Fri, Feb 26, 2010 at 2:35 PM, Steve Graham <jsgrahamus@yahoo.com> wrote: I'm a newbie to Smalltalk, but not to programming.
I'm trying to get a web page using an example from Squeak and Pharo (which I have loaded on my machine):
" HTTPSocket httpShowPage: 'http://www.altavista.digital.com/ index.html' "
When I select this and do it - I get nothing.
When I select this and print it - I get nil
What am I doing wrong?
Thanks, Steve
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
participants (2)
-
Steve Graham -
Stéphane Ducasse