Post

 Resources 

Console


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.


-
Up One Level | Back to Forum

Thanks! This really cleared it up! cuzzle (0 replies) (2001-Mar-31)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 17 visitors within the last 20 minutes
RSS News Feed