Login  Register

Re: String representation of Class

Posted by kilon.alios on Nov 12, 2014; 9:17am
URL: https://forum.world.st/String-representation-of-Class-tp4789773p4789785.html

and if you want a json like implementation there is filetree. I think json is a much better format than XML but I am nowhere near to an experienced web developer. 

On Wed, Nov 12, 2014 at 11:15 AM, [hidden email] <[hidden email]> wrote:
On Wed, Nov 12, 2014 at 9:21 AM, Hilaire <[hidden email]> wrote:
Le 12/11/2014 09:08, [hidden email] 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.

Why not use FileSystem memory for those things? This would keep the files inside the image.

Phil 

Hilaire



--
Dr. Geo - http://drgeo.eu
iStoa - http://istoa.drgeo.eu