[fpc-pascal] tstream files cross-platform ?

Dale Welch fpc_ml1 at babbler.org
Tue Dec 22 12:57:48 CET 2009


how do you make a saved tstream cross-platform?
for instance write.ansistring writes the length as a binary word in
native format...
which might not be the same native format on a different system.

i am working on a program and need to save files which will be read on
all systems.
the data could be thought of as objects with data of which includes
lists of children objects
which might have children as well to many generations down (up to at
least 20 generations,
perhaps many more).

the program it is similar to pivot or stykz. (stick man animator).

--- thanks




More information about the fpc-pascal mailing list