I'm developing various file formats for things like Matrices, 3d objects, particles, sounds and lights and environments etc and within the programs I've got some fairly large and convoluted type variables...
Stupid eg. TYPE Tp_3dOject
Name AS STRING
XPos AS FLOAT
etc etc
ENDTYPE
Do I really have the break all the data from these Type variables down into a Memblock to be able to write to a file? Or could I write them in as an array eg. ABC(0) AS Tp_3dObject? :-s
Or to put it another way, what's the best way of saving out your own file formats??? Anyone? :-s