Help - Glossary -
T - true
As the small initial letter shows, true is not a class. It is a
constant of Squeak, like false. It is useful in all
manner of testing and coding. Try these with Cmd-d. The reference is to
Orwell's "1984", in which the here is tortured by the ruling Party to make him
admit that whatever the Party says is true because the Party says is:
4=5 ifTrue: [Transcript cr; show: 'The Party is
right after all'.]
4=5 ifFalse: [Transcript cr; show: 'The Party cannot be all right'.]
It has a class False (try this with
Cmd-b) , in which there is clever code that enables one to write the above
and many other kinds of conditional tests and loops. Also see
nil.
Glossary -
T