Storing arrays and types into a file

Blitz3D Forums/Blitz3D Programming/Storing arrays and types into a file

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

No. Write your own procedures for them.

Dim Array(50)

Function WriteArray(Stream,Size)
     For i = 0 To Size
          WriteInt Stream,Array(i)
     Next
End Functon


It's simple. As for types, you'd have to write your own procedure to read and write its fields. Unless you fancy string parsing: Str(TypeObject) (or was it String(..)?)