Nov. 12, 2014
8:33 a.m.
String streamContents: [ :out | Association fileOutOn: out ] I am not sure it covers everything, but for some script methods this will do.
On 12 Nov 2014, at 09:21, Hilaire <hilaire@drgeo.eu> wrote:
Le 12/11/2014 09:08, phil@highoctane.be a écrit :
Is it possible to export a whole class as a string, then import it back from a string representation to a class?
Isn't that a fileOut/fileIn thing?
Yes, however I don't want it on a .st file (to avoid possible trouble on the end user DrGeo installation) but on a string within Smalltalk.
Hilaire
-- Dr. Geo - http://drgeo.eu iStoa - http://istoa.drgeo.eu