List Info

Thread: first round of scripting changes




first round of scripting changes
country flaguser name
Switzerland
2007-03-28 02:02:40
Actually, the second (I had added <category: 'foo'>
last week
but I forgot to send the patch to the list).

This adds #shape:, #subclass: and #instanceVariableNames: to
Class.
These methods will be called when parsing the new syntax,
but may
also be useful for those who want to stick with
message-sending.

Unlike Mike's version of #subclass:, this one does not
eliminate
the instance variables of the class if it is already
defined.
That is, after this:

    Object subclass: #A!
    A instanceVariableNames: 'a'!
    Number subclass: #A!

class `A' will still have one instance variable named `a'.

Paolo

_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )