Though one might moreover expect
| arrayResult |
arrayResult := aMessage sendTo: {self}.
(arrayResult isArray and: [arrayResult size = 1])
ifTrue: [arrayResult first]
ifFalse: [arrayResult]
So "5 asArray == 5" :-) Paolo _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
