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

2014-03-19 Thread PBK Research
here the problem lies. Peter Kenny _ From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of PBK Research Sent: 19 March 2014 09:09 To: nicolaih...@web.de; 'Any question about pharo is welcome' Subject: Re: [Pharo-users] What's wrong whith this code? Note ho

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

2014-03-19 Thread PBK Research
re to look. Peter Kenny _ From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of Nicolai Hess Sent: 19 March 2014 08:56 To: Any question about pharo is welcome Subject: Re: [Pharo-users] What's wrong whith this code? 2014-03-19 8:17 GMT+01:00 Friedrich Domin

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

2014-03-19 Thread Nicolai Hess
2014-03-19 8:17 GMT+01:00 Friedrich Dominicus : > Bernat Romagosa writes: > > > ouch, I added a . in the middle, sorry! > > > > elements := #('eins' 'zwei' 'drei' 'vier'). > > elements > > do: [ :element | (Delay forSeconds: 2) wait ] > > displayingProgress: [ :element | 'Working on', element asS

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

2014-03-19 Thread Friedrich Dominicus
Bernat Romagosa writes: > ouch, I added a . in the middle, sorry! > > elements := #('eins' 'zwei' 'drei' 'vier'). > elements > do: [ :element | (Delay forSeconds: 2) wait ] > displayingProgress: [ :element | 'Working on', element asString ]. > > 2014-03-18 9:55 GMT+01:00 Bernat Romagosa > : > >

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

2014-03-18 Thread Bernat Romagosa
ouch, I added a . in the middle, sorry! elements := #('eins' 'zwei' 'drei' 'vier'). elements do: [ :element | (Delay forSeconds: 2) wait ] displayingProgress: [ :element | 'Working on', element asString ]. 2014-03-18 9:55 GMT+01:00 Bernat Romagosa : > Without having tried it, I think you'

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

2014-03-18 Thread Bernat Romagosa
Without having tried it, I think you're missing a #wait message in there: elements := #('eins' 'zwei' 'drei' 'vier'). elements do: [ :element | (Delay forSeconds: 2) wait ]. displayingProgress: [ :element | 'Working on', element asString ]. Cheers, Bernat. 2014-03-18 9:52 GMT+01:00 Friedrich D

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

2014-03-18 Thread Friedrich Dominicus
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