Messages from list : cormas@cirad.fr

Choose a topic among the following archives :

Re: problem with tutorial #2

New Message Reply Date view Thread view Subject view Author view

Subject: Re: problem with tutorial #2
From: Hermes Morales (paisanohermes@hotmail.com)
Date: Tue Feb 15 2005 - 14:52:38 CET

Hullo Jeremy:
You are missing a probe because it is not in the tutorial.
You should add it, if you want to see local probes. The method is already in
the accessing protocol, because energy is an attribut of forager, and you
should change the method and move it to probes protocol.
energy
 "Getter accessor with default value = 50 "
energy isNil ifTrue:[energy := 50].

 ^energy

and you should see it.
I am also a beginner, an experienced beginner, but always a beginner, and
I was also trying to make the tutorials, for the n time.
I have had the problem that typing the program with another name, such as
ECEC or MiPrimerModelo, the maps where missing, and I had to copy them from
MyFirst...\maps, but I still don't arrive to see the foragers on the screen.
Perhaps we can think of a sub\cormas\network for beginners from level 0 to
level 1, and try to cooperate by encouraging ourselves, and perhaps
following a common learning program for some time?
Hermes
----- Original Message -----
From: "Jeremy Jackson" <specialjay@mac.com>
To: <cormas@cirad.fr>,
Sent: Monday, February 14, 2005 12:52 AM
Subject: problem with tutorial #2

> thank you for your ears and quick responses (especially Paul Caplat and
> clp).
>
> I'm trying to complete tutorial #2, and keep running into a problem on
> step 8: simulating the model.
> If you look on page 23 of the tutorial guide, there is a screen that shows
> after you click on "initialize." I am missing a couple of probes
> "--------", and "Forager >> energy". I don't know why this is, given that
> I followed all the steps up until this point, including creating probes.
> Another difference on this screen is that it shows "init" as an init
> method on my screen and not in the tutorial. Everything else is the same.
> After this, I choose "step" and I get an error: "Unhandled exception:
> message not understood: #self." When I choose the debug option, this is
> the section of code that's highlighted: "raiseSignal". In the upper box,
> "Float (Object) >> doesNotUnderstand:"is highlighted.
>
> Are there any ideas for things I may be missing? Where should I be
> looking for errors?
> thanks again
> jj
>
> Jeremy Jackson
> (514) 939-7195
> (617) 306-5085 cell
> 2cor12:9 my grace is sufficient for you, for my power is made perfect in
> weakness.
>

New Message Reply Date view Thread view Subject view Author view
 

Back to home