Subject: RE : error following tutorial no. 2
From: christophe LE PAGE (le_page@cirad.fr)
Date: Tue Jul 31 2007 - 08:19:02 CEST
Dear Jun,
Actually you have to use the editor panel (lowest part of the Refactoring
Browser) for each method one by one.
“harvestRate”, “eat” and “move” are 3 separate methods.
Firstly, type-in the code for “harvestRate”, then save (Ctrl-S) it.
The name of the method now appears in the list of methods for the selected
protocol (biology)
To get ready to enter new methods belonging to the same protocol, you first
need to “clean” the editor panel: select the text and delete it.
Then type-in the “eat” method (and only it), save it, etc.
HTH
Clp
PS: you may try the new tutorials, especially #2 and #3 with recording of
the different steps to design from scratch a model with Cormas :
http://cormas.cirad.fr/en/outil/classroom/
-----Message d'origine-----
De : owner-cormas@cirad.cirad.fr [mailto:owner-cormas@cirad.cirad.fr] De la
part de jun b.
Envoyé : mardi 31 juillet 2007 02:42
À : cormas@cirad.fr
Objet : error following tutorial no. 2
I tried to follow the steps outlined in Cormas tutorial no 2. When reaching
page 3, I am supposed to copy the script shown on that page to the source
tab after creating the "biology" protocol. I tried to copy the script as
faithfully as I could. But then when I tried to save it (accept) a message
that says "eat is a new message" appears. I attach a snapshot of the screen.
Can someone help me on this?
Thanks.
Jun