On Sun, Jan 31, 2010 at 7:04 PM, Dale Henrichs <dale.henrichs@gemstone.com>wrote:
----- "laurent laffont" <laurent.laffont@gmail.com> wrote: | | Hi, | | isn't it quite complex ? One can do: | 3 timesRepeat: [ProfStef next]. | | Less to type, Smalltalkish, and maybe more fun ? |
Laurent,
The #goto: style allows one to label a lesson ... #timesRepeat: fails if I reorder the lessons.
I apologize for using #goto:, but my first language was FORTRAN:)
I think that #call: or #jumpTo: or maybe #lesson: would work just as well without being heretical...
Dale
Well, I think I don't really understand why we need this as we have a tutorial browser now... By the way, everybody can write to the ProfStef repository so don't wait me to commit new code. As I said, I don't have a lot of time now and I prefer to concentrate on Pharocasts. Maybe I will finish complete test coverage of ProfStef-Core for Pharo 1.0. So happy hacking :) Laurent