6 lines
156 B
Smalltalk
6 lines
156 B
Smalltalk
|
|
(a > 0) or:(b > 10)
|
||
|
|
ifBoth:[ 'both' printCR]
|
||
|
|
ifFirst:[ 'only first' printCR ]
|
||
|
|
ifSecond:[ 'only second' printCR ]
|
||
|
|
ifNone: [ 'none' printCR ]
|