Go to documentation repository
Page History
The WriteIniAny method is used for writing to write a string variable to an ini - file. Unlike the WriteIni method, in the WriteIniAny method you can specify the required file section for writing.
Method call syntaxSyntax for method invocation:
Code Block |
---|
function WriteIniAny(varName: String, varValue: String, path: String, section: String) |
Method arguments:
- varName — is a required argument. Sets It specifies the name of the variable for saving storing in the file.
- varValue — is a required argument. Sets It specifies the value of a the variable.
- path — is a required argument. Sets It specifies the full path to the ini - file where in which the variable should must be stored. The storage Storage of variables can be placed on a the network resource; for . To do this, specify enter the network path in this the argument..
- section — is a required argument. Sets It specifies the name of the section of the ini -file where file in which you want to write the variable should be stored.
Example. Write the MyVar variable to the "config" section of the C:\\Backup\\test2.ini file, and specify set the "Hello world!" value to it. Then read the written value and display it in the debug window of the script.
...
Overview
Content Tools