TTMSFNCDataGridDataFileStringList Class
String list with sequential read and write helpers, used to parse and produce text files line by line during import and export.
API unit family: TMSFNCDataGridData
Inherits from: TStringList
Syntax
TTMSFNCDataGridDataFileStringList = class(TStringList)
class PASCALIMPLEMENTATION TTMSFNCDataGridDataFileStringList : public System::Classes::TStringList
Remarks
Reading uses an internal line pointer that starts at the first line; call Reset to start over. Writing collects text with Write and commits it as a new line with WriteLn.
Properties
| Name | Description |
|---|---|
| Eof | Returns True when the read position has reached the end of the list. |
Methods
| Name | Description |
|---|---|
| ReadLn | Reads the next line from the list into s and advances the read position. |
| Reset | Resets the internal read position to the beginning of the list. |
| Write | Appends s to the internal write buffer without a line terminator. |
| WriteLn | Appends s followed by a line terminator to the list. |