Sylvia Equihua
February 21st, 1999, 07:45 PM
How do you read in a binary data file and save it into an array of records?
I have the basic code for opening a file for input
open "test.dat" for binary As #1
get #1, , EmpDB
get #1, , Current
get #1, , Counter
close #1
and
open "test.dat" for binary As #1
put #1, , EmpDB
put #1, , Current
put #1, , Counter
close #1
but every time I access it, the data that I saved is not there!
any help would be apprciated it!
I have the basic code for opening a file for input
open "test.dat" for binary As #1
get #1, , EmpDB
get #1, , Current
get #1, , Counter
close #1
and
open "test.dat" for binary As #1
put #1, , EmpDB
put #1, , Current
put #1, , Counter
close #1
but every time I access it, the data that I saved is not there!
any help would be apprciated it!