Show: Delphi C++
Display Preferences

File Input and Output Support

From RAD Studio
Jump to: navigation, search

Go Up to API Categories Index


This topic lists all routines and variables involved in file IO support.

Member Description

System.Append

Prepares an existing file for adding text to the end.

System.Assign

Associates the name of an external file with a file variable.

System.AssignFile

Associates the name of an external file with a file variable.

System.BlockRead

Reads one or more records from an open file into a variable.

System.BlockWrite

Writes one or more records from a variable to an open file.

System.Close

Terminates the association between a file variable and an external file.

System.CloseFile

Terminates the association between a file variable and an external disk file.

System.SysUtils.DeleteFile

Deletes a file from disk.

System.Eof

Tests whether the file position is at the end of a file.

System.Eoln

Tests whether the file pointer is at the end of a line.

System.Erase

Deletes an external file.

System.ErrOutput

Specifies a write-only text file associated with the process's error output file.

System.SysUtils.FileAge

Returns the OS timestamp of a file.

System.SysUtils.FileClose

Closes a specified file.

System.SysUtils.FileCreate

Creates a new file.

System.SysUtils.FileDateToDateTime

Converts an OS timestamp value to a TDateTime value.

System.SysUtils.FileExists

Tests whether a specified file exists.

System.SysUtils.FileGetAttr

Returns the file attributes of FileName.

System.SysUtils.FileGetDate

Returns an OS timestamp for a specified file.

System.SysUtils.FileIsReadOnly

Reports whether a file is read-only.

System.FileMode

Indicates the access mode on typed and untyped files opened by the System.Reset procedure.

System.SysUtils.FileOpen

Opens a specified file using a specified access mode.

System.FilePos

Returns the current file position.

System.SysUtils.FileRead

Reads a specified number of bytes from a file.

System.SysUtils.FileSearch

Searches a specified directory path for a file.

System.SysUtils.FileSeek

Repositions the read/write point.

System.SysUtils.FileSetAttr

Sets the file attributes of a specified file.

System.SysUtils.FileSetDate

Sets the OS timestamp for a specified file.

System.SysUtils.FileSetReadOnly

Sets the file permissions to read-only.

System.FileSize

Returns the number of records in a file.

System.SysUtils.FileWrite

Writes the contents of a buffer to the current position in a file.

System.Flush

Empties the buffer of a text file opened for output.

System.IOResult

Returns the status of the last I/O operation performed.

System.Input

Specifies a read-only text file associated with the processes standard Input file.

System.Output

Specifies a write-only text file associated with the process's standard output file.

System.Read

Reads data from a file.

System.Readln

Reads a line of text from a file.

System.Rename

Changes the name of an external file.

System.SysUtils.RenameFile

Changes a file name.

System.Reset

Opens an existing file.

System.Rewrite

Creates a new file and opens it.

System.Seek

Moves the current position of a file to a specified component.

System.SeekEof

Returns the end-of-file status of a file, ignoring whitespace.

System.SeekEoln

Returns the end-of-line status of a file, ignoring whitespace.

System.SetTextBuf

Assigns an I/O buffer to a text file.

System.Truncate

Deletes all the records after the current file position.

System.Write

Writes to either a typed file or a text file.

System.WriteLn

Writes to a text file and adds an end-of-line marker.


See Also

Personal tools
RAD Studio 10.2 Tokyo
In other languages
Previous Versions
Assistance