Personally i'd use a Single Object Load/Save Function, You can then loop this for however many objects you have, (To save all Objects)
Open To Write 1,"C:\Saved Map.txt"
For n = 1 to 1000
If Object Exist(n) = 1 Then SaveObject(1,n)
Next n
Close File 1
Function SaveObject(File,Object)
Write Float File,Object Position X(Object)
Write Float File,Object Position Y(Object)
Write Float File,Object Position Z(Object)
Write Float File,Object Angle X(Object)
Write Float File,Object Angle Y(Object)
Write Float File,Object Angle Z(Object)
EndFunction
Function LoadObject(File,Object)
Position Object Object,ReadFloat(File),ReadFloat(File),ReadFloat(File)
Rotate Object Object,ReadFloat(File),ReadFloat(File),ReadFloat(File)
EndFunction
Function ReadInteger(File)
Read Integer File,v
EndFunction v
Function ReadFloat(File)
Read Float File,v#
EndFunction v#
Function ReadString(File)
Read String$ Integer File,v$
EndFunction v$
I've not tested this code, but it should work
Everyone Be Cool, You, Be Cool.