Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-12

tstream files cross-platform ?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dale Welch

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