[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Error in the code
From: |
Canol Gokel |
Subject: |
[Help-smalltalk] Error in the code |
Date: |
Tue, 17 Jun 2008 14:29:10 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Hello,
I couldn't find the problem with this code:
Object subclass: Animal [
| noise |
setNoise: noise [
"An instance method to set the animals noise."
<category: 'accessing'>
self noise := noise.
^self noise
]
]
It gives this error: deneme.st:8: parse error, expected ']'
Sorry if the mistake is too obvious :)
- [Help-smalltalk] Error in the code,
Canol Gokel <=