[futurebasic] Best way to save data to files

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 1998 : Group Archive : Group : All Groups

From: Pritchard Andy <pritcharda@...>
Date: Wed, 27 May 1998 18:48:00 +0100
What is the best/fastest method for saving 2 dimensional arrays to
files. I've tried WRITE FILE / READ FILE but it doesn't seem to like my
arrays  - DIM gData(40,600) - when I come to read them back (they write
out ok). I've tried reading in the data back to handle and then
BLOCKMOVE the data but FB must detect this as potentially dangerous and
halts (without an error message). My current method of PRINT / INPUT is
really very slow. I suppose I could copy all the data into a temporary
one dimensional array and copy that... I haven't tried that... Any other
suggestions?

Andy