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:)


Come on Dale!!! It was a joke :)� And I was talking about to go:to: in the code, which this is not the case. Here the go:to is for lessons :)� Maybe something like goToLessonNumber: or similar ...

It was just funny.

Cheers

Mariano

I think that #call: or #jumpTo: or maybe #lesson: would work just as well without being heretical...

Dale

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project