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