VBGamer |
|||||||||||||||||||||||||||
Re: File Saving/Loading in Binary 2BallzOnFire (1 reply, 0 views) (2001-Mar-31) In Binary mode, the second parameter of the PUT statement is NOT the record to save to, but the byte at witch the data should start. Check your length of MapInfo like this: Len(MapInfo) and save Map after the last byte of MapInfo. So if MapInfo is (for example) 20 bytes long, then put Map on byte 21. Like this:
Put #1, 1, MapInfo
Put #1, 21, Map
Read the data from file using the same offsets.
|