Read Line from File#
Reads the contents of a file sequentially, line by line, and outputs a string for each of the lines.
Connect the last block from the sequence connected to this connector to the input of the block to close the loop.
| File Name | [Text] The name of the text file whose contents need to be read. You can enter the full file name including the path. |
| Encoding | The encoding of the file. |
| Skip Empty Lines | If selected, empty lines will be skipped. |
| Line | [Text] The line read from the file. |
| Line Index | [Number] The ordinal number of the read line. Numbering starts from zero. |
| Error Handling Level | Select the error handling level. Possible values:
If "Default" is selected, the value of the "Start" block of this diagram will be used. |
| Output Direction | Select the output direction from the block in case of an error. Possible values:
This property allows you to determine the output direction in case of errors for blocks that do not contain the "If Error" connector (for example, the "Condition" block). If "Default" is selected, the value of the "Start" block of this diagram will be used. |
| Message Level | Select the message level that the blocks will output during operation. Possible values:
If "Default" is selected, the value of the "Start" block of this diagram will be used. |
| Error Text | [Text] Returns detailed information about the error in case of incorrect execution of the block's work. |