Hi! In the latest version of ProfStefCore from me I moved two messages I defined in ProfStefBrowser to the ProfStef class. "goto to specific tutorial and lesson by selector" ProfStef tutorial: SmalltalkSyntaxTutorial lesson: #welcome "goto to specific tutorial and lesson by index" ProfStef tutorial: SmalltalkSyntaxTutorial lessonAt: 1 Both replace the text in the window and do not start a new window. I found that opening a new window does not work well anyway, because it leaves the old one in an unusable state. Danny Am Montag, 1. Februar 2010 19:22:58 schrieb Dale Henrichs:
----- "Mariano Martinez Peck" <marianopeck@gmail.com> wrote: | 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 was joking as well:) ... the smile on my face doesn't come across in email!
Nonetheless, it does seem that #lesson: or #gotoLesson: or something in that vein would be a better selector anyway:)
Dale
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project