Skip to main content
Skip table of contents

p$TDV:File:InitName


p$TDV:File:InitName

Analogously to p$TDV:File:Init, the file is opened in the according mode (see there). The difference to the above function is that any file name can be specified.

Please keep in mind that the symbol "\" has to be used twice for paths in the file name ("\\")!

Only one file can be opened in this interface!

Syntax:

p$TDV:File:InitName( File name, Mode)

 

Argument

Type

Meaning

 

File name

String

Complete path name of the file to be opened

 

Mode

Integer

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

Result:

-

 

Example:

p$TDV:File:InitName( 'c:\\temp\\config.txt', 'write' )

JavaScript errors detected

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

If this problem persists, please contact our support.