Skip to main content
Skip table of contents

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:
ACBIS GmbH;Pforzheimerstr. 134;76275 Ettlingen

Then these results follow:

Name = p$TDV:File:Lesen( ';')àName = 'ACBIS GmbH'
Street = p$TDV:File:Lesen( ';')àStreet = 'Pforzheimerstr. 134'
Place = p$TDV:File:Lesen( ';')àPlace = '76275 Ettlingen'

Alternatively reading the entire line:

Line = p$TDV:File:Lesen( '' )
àLine = 'ACBIS GmbH;Pforzheimerstr. 134;76275 Ettlingen'

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.