Hi Roelof

I think you meant 
  String streamContents: 
and not 
  Array streamContents:



On 26 Mar 2019, at 20:12, Roelof Wobben <r.wob...@home.nl> wrote:

Hello,

I have a SortedCollection of teams.

Now I need to convert this to a line like this :

'Allegoric Alaskans             |  1 |  1 |  0 |  0 |  3'

I tried it with this :

outcome := Array
        streamContents: [ :s |
            TeamStatusSorted
                do: [ :each |
                    s << each name.
                    s << String cr ] ].
    ^ outcome


or String streamContents but it will not give me the right answer,
So please some hints how I can make this work.

Roelof




Reply via email to