[Pharo-users] What's wrong whith this code?
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
Re: [Pharo-users] What's wrong whith this code?
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 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 > > -- Bernat Romagosa.
Re: [Pharo-users] What's wrong whith this code?
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 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 Dominicus < > fr...@q-software-solutions.de>: > > 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 >> >> > > > -- > Bernat Romagosa. > -- Bernat Romagosa.
[Pharo-users] [ANN] ArchLinux pharo-vm / pharo-launcher packages
Hi ArchLinux users, you can now install pharo vm on Arch with: $ yaourt pharo-vm-latest then $ pharo /path/to/your/image There's also a pharo-launcher package that depends on pharo-vm: $ yaourt pharo-launcher then $ pharo-launcher or use your favorite desktop main menu and click on the Pharo icon AUR entries: https://aur.archlinux.org/packages/pharo-vm-latest/ https://aur.archlinux.org/packages/pharo-launcher/ PKGBUILDs are versionned on https://github.com/lolgzs/pharo-aur Thanks for testing ! Regards, Laurent
Re: [Pharo-users] [ANN] ArchLinux pharo-vm / pharo-launcher packages
Thanks a lot. This is great news! Cheers Nacho > El 18/03/2014, a las 18:40, Laurent Laffont > escribió: > > Hi ArchLinux users, > > you can now install pharo vm on Arch with: > > $ yaourt pharo-vm-latest > > then > > $ pharo /path/to/your/image > > > There's also a pharo-launcher package that depends on pharo-vm: > > $ yaourt pharo-launcher > > then > > $ pharo-launcher > > or use your favorite desktop main menu and click on the Pharo icon > > AUR entries: > https://aur.archlinux.org/packages/pharo-vm-latest/ > https://aur.archlinux.org/packages/pharo-launcher/ > > PKGBUILDs are versionned on https://github.com/lolgzs/pharo-aur > > > Thanks for testing ! > > > Regards, > > Laurent >