Error Unknown variable: BouncingAtomsMorph openInWorld, please correct or cancel

I'm new to Pharo, my problem is that when I try to run the BouncingAtomsMorph openInWorld example, I keep getting the following error message:

Unknown variable: BouncingAtomsMorph openInWorld, please correct or cancel

Please, help!

+6
source share
1 answer

The dull Atoms bounces are no longer included in the standard distribution of new versions of Pharo.

To load it in a workspace or playground:

Gofer it url: 'http://smalltalkhub.com/mc/PharoExtras/MorphExamplesAndDemos/main'; package: 'MorphExamplesAndDemos'; load. 

Then

 BouncingAtomsMorph new openInWorld 

will work.


Pharo 5 Update:

The MorphExamplesAndDemos package no longer loads correctly starting with Pharo 5. As described here , you can still look at BouncingAtomsMorph just by clicking Abandon when the debugger message tells you that this message is no longer understood (the problem with another example in the same package) :

Class FileList -> registerFileReader

+8
source

Source: https://habr.com/ru/post/976260/


All Articles