Skip to main content
Skip table of contents

p$TDV:File:Init


p$TDV:File:Init

Standard input, or output file is opened in the according mode.

Please note: Only one file can be opened by this interface at once!

The name of the file is to be specified in in the file "tdv.ini" in section "[Kopplung]" in the entries "In_File", or "Out_File". This procedure guarantees a smooth process on different PCs with different installations as the system interdependencies are established in the tdv.ini, but not in the logic.

For using a free file name also see p$TDV:File:InitName

Syntax:

p$TDV:File:Init( Mode )

 

Argument

Type

Meaning

 

Mode

String

'Lesen' or 'read': Open file for reading
'Schreiben' or 'write': Open file for writing
'Anhängen' or 'append': Add something to the existing file
(capitalization is not important)

Result:

-

 

Example:

p$TDV:File:Init( 'read' )
àFile is opened for reading

JavaScript errors detected

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

If this problem persists, please contact our support.