p$TDV:File:Read
p$TDV:File:Read
Read a dataset or a data array from the file that was opened for reading before. The file end is marked by returning an empty string (’’).
Syntax: | Text = p$TDV:File:Lesen( Separator ) | ||
| Argument | Type | Meaning |
| Separator | String | Array separators in the file or transferring an empty string ('') for reading an entire line |
Result: | String | Read files or '' for the file end | |
Example: | Reading an address. The following dataset is to be given: Then these results follow: Name = p$TDV:File:Lesen( ';')àName = 'ACBIS GmbH' Alternatively reading the entire line: Line = p$TDV:File:Lesen( '' ) | ||