[Pharo-users] What's wrong whith this code?

Friedrich Dominicus frido at q-software-solutions.de
Tue Mar 18 04:52:43 EDT 2014


elements := #('eins' 'zwei' 'drei' 'vier').
elements do: [ :element | Delay forSeconds: 2.  ]
displayingProgress: [ :element | 'Working on', element asString ].

Shouldn't it just open a progress bar and iterate through the elements
printing 'Working on...?

Regards
Friedrich




More information about the Pharo-users mailing list