File Input and Output

Top  Previous  Next

What is translated > File Input and Output

Delphi2CSharp provides runtime classes and methods for translating Delphi file input and output to C#.

 

The generated code keeps the structure of the original Delphi source whenever possible. Files are opened and closed by calls such as Rewrite, Reset, Append, and CloseFile.

 

The following file types are supported:

 

•TextFile for Delphi text files
•TypedFile<T> for Delphi file of T declarations
•UntypedFile for Delphi untyped File declarations
•TTextRec as the base implementation for text files
•TFileRec as the base implementation for binary files

 

For more information, see:

 

Text Files

Standard Input and Output

Typed Files

Untyped Files

Assigning, Opening, and Closing Files

Reading Text Files

Writing Text Files        

Binary Input and Output



This page belongs to the Delphi2C# Documentation

Delphi2C# home  Content