Add st-handle.h
[panda.git] / st / True.st
blob95520cc0aced9b904e349c63872cf0f42dee3f89
3 "logical operations"
5 True method!
6 & aBoolean
7         ^ aBoolean!
9 True method!
10 | aBoolean
11         ^ self!
13 True method!
14 not
15         ^ false!
18 "controlling"
20 True method!
21 ifTrue: trueBlock
22         ^ trueBlock value!
24 True method!
25 ifFalse: falseBlock
26         ^ nil!
28 True method!
29 ifTrue: trueBlock ifFalse: falseBlock
30         ^ trueBlock value!
32 True method!
33 ifFalse: falseBlock ifTrue: trueBlock
34         ^ trueBlock value!
36 True method!
37 and: aBlock
38         ^ aBlock value!
40 True method!
41 or: aBlock
42         ^ true!
45 "printing"
47 True method!
48 printOn: aStream
49         aStream nextPutAll: 'true'!