Login  Register

Re: String representation of Class

Posted by philippeback on Nov 12, 2014; 8:04am
URL: https://forum.world.st/String-representation-of-Class-tp4789773p4789776.html


Le 12 nov. 2014 08:32, "Hilaire" <[hidden email]> a écrit :
>
> Hi,
>
> Dr. Geo script are becoming first class citizen -- before it was just a
> method hooked to an existing DrGeoUserScripts class ; then, it was easy
> to export the script method as a string to include it in the XML sketch
> file.
>
> Now to save a Dr. Geo sketch using a script, the whole script class
> needs to be embedded in the sketch XML representation.
>
> 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?

Phil
>
> Thanks
>
> Hilaire
> --
> Dr. Geo - http://drgeo.eu
> iStoa - http://istoa.drgeo.eu
>
>
>