format of files produced by “save”
Variables are saved by Scilab with the save function in the following format:
each variable record is appended consecutively to the file. The variable record begins with 6 long integer holding the variable name in encoded format (see the Remarks section below),
After that comes the variable type (long integer), then, depending on it, for:
:
:
:
:
:
:
:
:handles (type 9) version (4 bytes) row_size m (a byte), column_size n (a byte), data (m*n serialization_records) A serialization_record is a flat representation of the C data structure associated with the corresponding graphic object. Each graphic object is defined by a (recursive) set of properties (see the get) function).
- :The saved serialization_record of a graphic object is structured as
- follow type_length n (a byte) type (n bytes, the ascii codes of the type name) property_values record (variable length)
:
:
:
:
:
:
:
:Pointers (type 128) Not handled :
:
Numbers (long interger, short integers, double) are stored using the little endian convention.
The variable names are stored as a sequence of 6 long integers, with a specific encoding. see the cvname.f file for details.