comp.lang.ada
 help / color / mirror / Atom feed
* Smart to put "Flush(myfile)" before "Close(myfile") ?
@ 2021-01-25  5:42 reinert
  2021-01-25 11:41 ` Jeffrey R. Carter
  2021-01-25 12:05 ` Dmitry A. Kazakov
  0 siblings, 2 replies; 6+ messages in thread
From: reinert @ 2021-01-25  5:42 UTC (permalink / raw)


Can an exception (runtime error) in principle, after closing a file, interrupt the process of writing the actual file to disc?

I.e. is it smart to include a "Flush(myfile)" before "Close(myfile)" like this:

Create  (myfile, Out_File, "myfilename");
... Put .. Put
Flush(myfile);
Close(myfile);

reinert

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-26  8:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-25  5:42 Smart to put "Flush(myfile)" before "Close(myfile") ? reinert
2021-01-25 11:41 ` Jeffrey R. Carter
2021-01-25 12:05 ` Dmitry A. Kazakov
2021-01-25 13:32   ` G.B.
2021-01-26  5:30     ` reinert
2021-01-26  8:01       ` Dmitry A. Kazakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox