|
|
Hi Christoph!
> You can find some samples for using the #write directive in the standard
> include file 'shapes.inc'. As you said #write supports strings, floats
> and vectors. Since all objects consist of such elements you can write
> them quite easily.
Uhm, well... yes and no. Of course it is possible to assemble all
keywords and parameter values which define an object into a file - if
you can retrieve them one by one. But what about a union that comes out
of a macro, and whose sub-objects have been created and randomly
transformed by further sub-macros, and so forth?
Something like a to_string(OBJECT) function would be really handy! But
there isn't one, is there?
Regards -
Torsten
Post a reply to this message
|
|