Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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 |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
DateAndTime now --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027
Blog: http://philippeback.be | Twitter: @philippeback
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 <[hidden email]> wrote:
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by 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
Blog: http://philippeback.be | Twitter: @philippeback
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 <[hidden email]> wrote:
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thank you - forgot that Time was case sensitive - I'm learning
Dan |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by Dan
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 |
Free forum by Nabble | Edit this page |