Creation of a class help
Hello, I am restuding the chapter 5 ( Developing a simple counter ) of " Learning OOP " book : http://files.pharo.org/books-pdfs/learning-oop/2018-04-01-LearningOOP.pdf In the browser of Pharo version 13 I can't find neither the Object package nor the ProtoObject package. -- Thanks for your help Rene Paul Mages (ramix) GnuPG : 0x9840A6F7 https://wiki.linux-azur.org/?PagePHARO https://renemages.wordpress.com/smalltalk/pharo https://sites.google.com/view/les-logiciels-libres/pharo
Hi, Object and ProtocObject are not packages but classes. You can find them in multiple ways: - Using the Spotter (CMD/Ctrl + space) - Using the Finder (Browse -> Finder) - Using the class finder (In the Code Browser you can right click on a package and select "Find class" - By typing the name of the class in a Playground and doing CMD/CTRL + b to browse the class Those classes are in the Kernel package -- Cyril Ferlicot-Delbecque https://ferlicot.fr On Friday, September 19th, 2025 at 3:36 PM, RenePaulMages via Pharo-users <pharo-users@lists.pharo.org> wrote:
Hello,
I am restuding the chapter 5 ( Developing a simple counter ) of " Learning OOP " book :
http://files.pharo.org/books-pdfs/learning-oop/2018-04-01-LearningOOP.pdf
In the browser of Pharo version 13 I can't find neither the Object package nor the ProtoObject package.
-- Thanks for your help Rene Paul Mages (ramix) GnuPG : 0x9840A6F7 https://wiki.linux-azur.org/?PagePHARO https://renemages.wordpress.com/smalltalk/pharo https://sites.google.com/view/les-logiciels-libres/pharo
participants (2)
-
Cyril FERLICOT-DELBECQUE -
RenePaulMages