Canol Gokel wrote:
Hello,
If I'm not wrong there are more than one way to do some things in Smalltalk when
3.0 is released. What is the most recent syntax in GNU Smalltalk for
- Creating classes (with some instance variables, class variables, comment
etc...)
Superclass subclass: Subclass [
| instVar1 instVar2 |
ClassVar1 := Dictionary new.
ClassVar2 := nil.
<comment: 'here it is'>
]
- Extending classes
Same as above, with "ClassName extend" or "ClassName class extend"
before the bracket.
- Creating objects
This has not changed, it's standard Smalltalk.
Paolo
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk