From 2018-09-29-UpdatedPharoByExample.pdf page 20: How to do this with Calypso? Smalltalk tools openClassBrowser ...?... Thanks. |
Hi David, This is the way: Smalltalk tools browser open. Cheers, Hernán El jue., 31 ene. 2019 a las 8:57, David Richards (<[hidden email]>) escribió:
|
Thanks Hernán. Smalltalk tools browser open. This code expression is helpful to see and understand. My question goes further however -- to how we can open the browser to display a specified method of a specified class (e.g. the 'factorial' method of class 'Integer'). David On Thu, 31 Jan 2019 at 07:10, Hernán Morales Durand <[hidden email]> wrote:
|
Hi David, You can open the browser on a method using #openOnMethod: Smalltalk tools browser openOnMethod: (Integer>>#factorial) Cheers, Hernán El jue., 31 ene. 2019 a las 13:23, David Richards (<[hidden email]>) escribió:
|
In reply to this post by David Richards
On Thu, Jan 31, 2019 at 5:23 PM David Richards <[hidden email]> wrote:
Smalltalk tools browser openOnMethod: Integer>>#factorial
Cyril Ferlicot https://ferlicot.fr |
Even simpler:
Just inspect: Integer>>#factorial. and one of the tabs is the source code. You can also do: (Integer>>#factorial) browse. > On 31 Jan 2019, at 17:38, Cyril Ferlicot <[hidden email]> wrote: > > > > On Thu, Jan 31, 2019 at 5:23 PM David Richards <[hidden email]> wrote: > Thanks Hernán. > > Smalltalk tools browser open. > > This code expression is helpful to see and understand. > > My question goes further however -- to how we can open the browser to display a specified method of a specified class (e.g. the 'factorial' method of class 'Integer'). > > > Hi, > > Smalltalk tools browser openOnMethod: Integer>>#factorial > > David > > > > -- > Cyril Ferlicot > https://ferlicot.fr |
In reply to this post by CyrilFerlicot
Thanks Hernán and Cyril. Although I've been a programmer since 1977, with professional experience in functional and object-oriented development, I'm a total newcomer to the Pharo/ST ecosystem. Your replies are much appreciated. David On Thu, 31 Jan 2019 at 08:38, Cyril Ferlicot <[hidden email]> wrote:
|
In reply to this post by Sven Van Caekenberghe-2
Very excellent. Thanks Sven. On Thu, 31 Jan 2019 at 08:44, Sven Van Caekenberghe <[hidden email]> wrote: Even simpler: |
Free forum by Nabble | Edit this page |