If you are up to that kind of random data you can also try Object new executeMethod: (Point >> #x) Lukas 2009/10/28 Niko Schwarz <niko.schwarz@googlemail.com>:
Hi list, I learned something fun today from a friend, how to make Pharo produce random garbage!
 Make a class AC which is defined as:  Object subclass: #AC    instanceVariableNames: 'a'    classVariableNames: ''    poolDictionaries: ''    category: 'OB-Standard-Browsers'
Then you make a second class AB defined as:
Object variableByteSubclass: #AB Â Â Â instanceVariableNames: '' Â Â Â classVariableNames: '' Â Â Â poolDictionaries: '' Â Â Â category: 'OB-Standard-Browsers'
Then you make accessors for 'a' in AC Now execute: AB superclass: AC And then you do "AB new a" which gives you back random data.
Cheers,
Niko
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli http://www.lukas-renggli.ch