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 |
Result: | - |
| |
Example: | p$TDV:File:InitName( 'c:\\temp\\config.txt', 'write' ) | ||