problem when use file

Blitz3D Forums/Blitz3D Programming/problem when use file

vivaigiochi(Posted 2010) [#1]
when i use instruction like writefile seems that data are written into diskfile only when i close the main program....
I need to use several temp file but blitz don't open why it is'nt on disk!!! i close the file before i need to reopen but nothing.
Only when i close main program i see data into file.


Ross C(Posted 2010) [#2]
Write file should work right away. Maybe you do need to close file to complete the write operation, but it's not a big deal just to open it up again.


vivaigiochi(Posted 2010) [#3]
yes it's true i must closefile when it's just time.
I need data file on disk this this is because i close and reopen lately to read data.
hovewer i close this post. thanks


Serpent(Posted 2010) [#4]
I know this is topic is dead, but I noticed that when writing files, Blitz3D only writes 8k portions (or something like that) at a time until the file is closed.