The Flush
function clears the file buffer.
Declaration
Flush(FileVar)
Parameters
FileVar | [in] | Required | Variant | |
Result | Integer |
Description
Writes all of the characters to the desired file, which is associated with the file variable by calling the AssignFile
procedure. This function guarantees that all of these characters will be written to the file.
Parameters
Return Value
Returns 0 if the operation succeeds. If the operation fails, the function returns the error code.
See Also
DelphiScript - List of Supported Routines and Variables
Append
AssignFile
Rename
Rewrite