Post

 Resources 

Console


File Saving/Loading in Binary cuzzle (3 replies, 0 views) (2001-Mar-31)
-
I am saving and loading multiple arrays using binary format and get and put. I have run into problems though. When I save files in binary, then load them, the data is all messed up. Its the same messed up data each time I save and load the file. Here is the code: Open App.Path & "\..\maps\Eastin.map" For Binary As #1 Put #1, 1, MapInfo Put #1, 2, Map Close #1 That saves the map, and this loads it: Open App.Path & "\..\maps\Eastin.map" For Binary As #1 Get #1, 1, MapInfo Get #1, 2, Map Close #1 and every time, the data is corrupt. For example, when I entered some integers into the arrays, and loaded them back up, I got totally different numbers. Can anyone help?


-
Back to Forum

Re: File Saving/Loading in Binary 2BallzOnFire (1 reply) (2001-Mar-31)
Thanks! This really cleared it up! cuzzle (0 replies) (2001-Mar-31)
Re: File Saving/Loading in Binary Almar (0 replies) (2001-Apr-1)

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