Programmer's Reference

Testing

equals:, isPrimitive, isUserPrimitive, referencesLiteral:, sendsSelector:, getsInstVar:, setsInstVar:, referencesInstVar:

Porting tip:Smalltalk/V does not support any of these messages. Objectworks\Smalltalk supports only sendsSelector:, although it also has a message called refersToLiteral: that is similar to referencesLiteral:. Both Smalltalk/V and Objectworks\Smalltalk redefine =. We decided to define an equals: message with the correct semantics instead.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]