Hello,
I was trying to use the following code to presize a database file
but found that it didn't work the way I had hoped.
This example leaves the file at zero bytes...
And this example works just fine...
I would have though that they both would work the same way?
------------------
Cheers
[This message has been edited by mark smit (edited October 05, 2000).]
I was trying to use the following code to presize a database file
but found that it didn't work the way I had hoped.
This example leaves the file at zero bytes...
Code:
#compile exe function pbmain open"d:\mark.db" for random as #1 len = 1 seek #1,50000 seteof #1 close #1 end function
Code:
#compile exe function pbmain open"d:\mark.db" for binary as #1 seek #1,50000 seteof #1 close #1 end function
------------------
Cheers
[This message has been edited by mark smit (edited October 05, 2000).]
Comment