Install Pharo on Win 7 64 bit computer
I am trying to install Pharo on a Win7 64 bit computer and am following the examples given in the manual. I open up a new workspace and type in time now Then choose - print it - from the action menu and I get an error message stating that the receiver of "now" is nil. i realize it's probably something really stupid I'm missing but I need help please. Dan
DateAndTime now --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:phil@highoctane.be | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller On Mon, Dec 23, 2013 at 12:52 PM, Daniel Roe <roedj@hotmail.com> wrote:
I am trying to install Pharo on a Win7 64 bit computer and am following the examples given in the manual.
I open up a new workspace and type in
time now
Then choose - print it - from the action menu and I get an error message stating that the receiver of "now" is nil. i realize it's probably something really stupid I'm missing but I need help please.
Dan
Time now works too, just the time then. --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:phil@highoctane.be | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos High Octane SPRL rue cour Boisacq 101 | 1301 Bierges | Belgium Pharo Consortium Member - http://consortium.pharo.org/ Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller On Mon, Dec 23, 2013 at 12:52 PM, Daniel Roe <roedj@hotmail.com> wrote:
I am trying to install Pharo on a Win7 64 bit computer and am following the examples given in the manual.
I open up a new workspace and type in
time now
Then choose - print it - from the action menu and I get an error message stating that the receiver of "now" is nil. i realize it's probably something really stupid I'm missing but I need help please.
Dan
Thank you - forgot that Time was case sensitive - I'm learning Dan -- View this message in context: http://forum.world.st/Install-Pharo-on-Win-7-64-bit-computer-tp4732054p47320... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
On Mon, Dec 23, 2013 at 06:52:25AM -0500, Daniel Roe wrote:
I am trying to install Pharo on a Win7 64 bit computer and am following the examples given in the manual.
I open up a new workspace and type in
time now
Then choose - print it - from the action menu and I get an error message stating that the receiver of "now" is nil. i realize it's probably something really stupid I'm missing but I need help please.
Hi Dan, Try doing this again with upper-case 'T' like this: Time now Explanation: There is a class in the system called 'Time'. That class is an object (like everything else in the system), and the object knows how to respond to the message called 'now'. When you evaluate the expression 'Time now' (by choosing print it in the workspace), the 'now' message is sent to the 'Time' object, which responds with the current time. What you saw instead was the result of sending the message 'now' to an undefined variable 'time' in your workspace. Your 'now' message was received by a special object called 'nil' that represents the undefined object. When the object called 'nil' received your 'now' message, it generated the error message that you saw. HTH, Dave
participants (4)
-
Dan -
Daniel Roe -
David T. Lewis -
phil@highoctane.be