next up previous contents index
Next: Structure types Up: Objects and structures Previous: Destruction of objects   Contents   Index

Storage of objects

It is possible to store objects (not of undetermined type) in the results directory, using the command svg. For instance, if the object XXX1 has been defined, the instruction

- interpcom -> svg XXX1 z.svg

will store the object XXX1 in the file z.svg of the results directory. This is done in binary format. The file z.svg will not only contain the numbers of the array corresponding to XXX1, but also informations concerning this object (the type of the object and its dimensions). The object can be loaded by using the command restore. For instance if the object YYY1 has been defined, of the same type as XXX1 and with the same dimensions, the instruction

- interpcom -> restore YYY1 z.svg

will fill YYY1 with the object stored in z.svg.