Create New Pseudo Variables in Squeak

Posted by Artium on Stack Overflow See other posts from Stack Overflow or by Artium
Published on 2010-05-18T22:45:08Z Indexed on 2010/05/18 22:50 UTC
Read the original article Hit count: 398

Filed under:
|
|

Large part of squeak is implemented using squeak itself. I am curious to know if pseudo variables such as self or true are also implemented using squeak. If the answer is yes, where the implementation located?

Specifically, assume that I want to add new subclass of "Boolean" called "Other" which will represent a third option: neither true nor false. I want that other, the only instance of Other to be similar to the true/false global singletons.

Any ideas? Thank you.

© Stack Overflow or respective owner

Related posts about squeak

Related posts about pseudo